I had this function in my java code that stringifies json
Function<Object, Object> jsonStringify = x -> {
try {
return mapper.writeValueAsString(x);
} catch (JsonProcessingException e) {
throw new RuntimeException(e);
}
};
but I cannot do
expr.registerFunction("jsonsStr", jsonStringify)
, Javascript version of Jsonata allows this.
I had this function in my java code that stringifies json
but I cannot do
, Javascript version of Jsonata allows this.