The response from Note.Get is:
{“body”:{“foo”:“ABC”,“bar”:“ABC”},“time”:1620614032}
I can get the 2 values from object “body” just fine.
J *body = JGetObject(rsp, “body”);
String return_val1 = JGetString(body, “foo”);
String return_val2 = JGetString(body, “bar”);
But how do I get the object “time” and save its value to a string? Since it’s the first value with index 0 can’t reference it like before.
J *object_time = JGetObject(rsp, “time”);
This gives an error
String return_val3 = JGetString(object_time, “time”);