I want to create a JSON String for a Map of JSON Path as key and the value is the JSON value itself.
(It is somehow mentioned here as a solution) but neither 2.7 nor 2.8 version of Jayway's published maven Central has Option.CREATE_MISSING_PROPERTIES_ON_DEFINITE_PATH
My question is simple:
Map<String, String> jsonMap;
Example Key String, Example Value
Customer.Account.Number, 1234
Customer.Account.type, Checking
Expected:
{"Customer":{"Account":{"Number":1234, "type":"checking"}}}
Appreciate any help in this regards.