bazaarvoice / jolt

JSON to JSON transformation library written in Java.
Apache License 2.0
1.56k stars 329 forks source link

[Question] Json string to Json #1054

Open celsomarques opened 3 years ago

celsomarques commented 3 years ago

Hi,

I need to transform json string to Json object and Json array. Is there anyway to achieve that using Jolt?

Input: {"fieldA":"Value", "fieldB": 3460.00, "fieldC": "[{\"fieldD\": 1}]", "fieldE": "{\"fieldF\": \"value\"}"}

Expected output: {"fieldA":"Value", "fieldB": 3460.00, "fieldC": [{"fieldD": 1}], "fieldE": {"fieldF": "value"}}

Thanks