Jackson ObjectMapper has method writeValueAsString...
# announcements
m
Jackson ObjectMapper has method writeValueAsString(object)
👍 1
g
Is there a way to use only JsonPath for that purpose?
s
JsonPath seems to be for reading Json, not for writing it. So the answer is now. Use Jackson or Klaxon https://www.baeldung.com/kotlin-json-klaxson
👍 1