Reading/writing Java properties files using Jackson (2.8)
@cowtowncoder
144

I am trying to convert propeties to Json and have run into some utf-8 issues. Here is my code:

JsonNode node = new JavaPropsMapper().readValue(propertiesString, JsonNode.class);

Where propertiesString is key-value pairs in properties format. When unicode characters are present in propertiesString, the json output is not correct.

Is this a bug or am I not doing it right?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.