Hi everyone! I’m new scala user, and I want to try to parse simple json by jayway lib, by giving specific jsonpath for example
{ "hello": { "scala": "new user", "json_list": ["list1", "list2"] } }
and I won to get “scala” value via jayway giving jsonpath, “$.hello.scala”, and donno how to add additional key into “hello” object like “bye”: and here will be value of “scala” key, and my json must be like that
{
“hello”:
{
“scala”: “new user”,
“json_list”: [“list1”, “list2”],
“bye”: “new user”
}
}