I have defined a YANG model for which I constructed an object using the builder of this model in my java code. Now I want to serialize this as a JSON string. I am not sure how to proceed. Using builder.build() gives me a string but the generated string is not the expected json.
Thanks for any help/pointers. Regards, Ranga