You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if there is a way to set the order for the JSON response because it's not structured acording the order I write key-value using the jsonWriter.
Hi all,
I'm wondering if there is a way to set the order for the JSON response because it's not structured acording the order I write key-value using the jsonWriter.
I.E.:
jsonWriter.object().key("a").value("first").key("b").value("second")
{
"b": "second",
"a": "first"
}
I expected a-first pair before b-second pair.
This disorder is worst when I include arrays or nest objects in the JSON response.
Thanks in advance!
Fede
The text was updated successfully, but these errors were encountered: