# Liquibase Java Api

**URL:** <https://forum.liquibase.org/t/liquibase-java-api/4793>\
**Category:** Liquibase Development\
**Created:** [November 9, 2020, 3:35pm UTC](https://forum.liquibase.org/t/liquibase-java-api/4793 "2020-11-09T15:35:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayanthit](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jayanthit](https://forum.liquibase.org/u/jayanthit)\
**Post date:** [November 9, 2020, 3:35pm UTC](https://forum.liquibase.org/t/liquibase-java-api/4793/1 "2020-11-09T15:35:44Z")

</div>

Iam able to run liquibase diff via command line on two json which are saved. Would like to explore the corresponding liquibase java api, which acccept json as inputs and do json(s) compare and report on schema level differences. I was struggling to get this since last two weeks. If any one have already tried this, it would be great if they can answer this.

---

<div class="post-metadata">

**Author:** ![ronak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/ronak/32/221_2.png) [@ronak](https://forum.liquibase.org/u/ronak)\
**Post date:** [November 10, 2020, 9:08pm UTC](https://forum.liquibase.org/t/liquibase-java-api/4793/2 "2020-11-10T21:08:51Z")

</div>

Hey @jayanthit,

Could you share:

- The exact command line you are running for liquibase diff command?
- Share your liquibase.properties file (if you have any, please take out the passwords)
- exact error output (please make sure to set [logLevel](https://docs.liquibase.com/concepts/advanced/loglevel.html)=debug).

Thanks,

Ronak
