Replies: 1 comment 2 replies
-
This is a good question, thank you. I will have to update the documentation to include the answer. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
DataNode result = body.get("caaList");
return result.toString();
Jackson
library:[ {"caaNumber" : "1234", "toaNumber" : "567"}, ... ]
"caaList" : [ {"caaNumber" : "1234", "toaNumber" : "567"}, ... ]
, I can work with that.toString()
method just gives me a map-like structure I could make a StringBuilder and remake-up the data to JSON. However, that almost defeats the purppse of the end-to-end REST testing.body.get()
orbody.getRaw()
I should stop speculating and leave the question as is. How to get legitimate JSON content from a
DataNode
?Beta Was this translation helpful? Give feedback.
All reactions