Skip to main content
June 13, 2025
Question

I want to check how to identify empty json returned from a!fromJson()

  • June 13, 2025
  • 2 replies
  • 0 views

a!isNullOrEmpty(a!fromJson("{}")) gives me result as false but my requirement is to check if a!fromJson is empty then it should return true. How can we acheive this?

    2 replies

    stefanhelzle0001
    June 13, 2025

    You can try this:

    a!isNullOrEmpty(a!keys(a!fromJson("{}")))

    June 14, 2025

    Thanks [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05]  That worked for me