Skip to main content
December 16, 2022
Question

formatjson convert &,[,] to unicode

  • December 16, 2022
  • 4 replies
  • 0 views

When I use formatjson function, it automatically change "&" to "\u0026" , and "<>" to "\u003c\u003e", how to aviod that?

Can anybody help?

Thanks

4 replies

stefanhelzle0001
December 16, 2022

Here we trade tips for details. Can you share a more details about your use case?

December 19, 2022

I use this plugin called "Procensol Json Formatter"

but it supposed to be like this: 

{

"name": "abc&123",

"age": "<18",

"weight": ">30kg"

}

Do you have any suggestions?

Thanks!

December 20, 2022

You might be able to use this function a!fromJsonjsonText )

https://docs.appian.com/suite/help/22.4/fnc_system_a_fromjson.html

December 20, 2022

I don't want to converts a JSON string into an Appian value, just want to format json, and make it more readable.