Skip to main content
Archived

json editor/parser in Inspector

Related products:Transformers
  • May 13, 2016
  • 4 replies
  • 63 views

Forum|alt.badge.img+5

Be amazing if the inspector had a better way of viewing and looking through json objects/arrays similar to online json editors such as - http://www.jsoneditoronline.org/.

Currently opening and viewing json in FME is a little painful especially if you have a very large json response from an API.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

Forum|alt.badge.img+6

I'm a bit baffled by this too! I'm constantly having to copy the json responses to Notepad++ and format them with the JSTool Plugin. I would have expected we'd get an option in this dialog to do so, or actually have it auto-recognize that it's JSON and format it right away.


Forum|alt.badge.img+6

I cannot seem to post an image :(


dellerbeck
Contributor
Forum|alt.badge.img+7
  • Contributor
  • April 24, 2019

When I am working with JSON and need to see it in pretty print, I put in a JSON Formatter in the workspace. You can inspect launch inspector from the formatter transformer.

You can double click in the json field <normally _results> in inspector and there is a text formatting option <bottom left of the dialog>. I set mine to Java, sorry for not being able to add in a screen shot as well.

If you are doing a LOT of work with JSON it's a good idea to remove the formatter, it can cause a performance hit. Hope that helps some!


Forum|alt.badge.img+6

Thanks a lot for that tip BTW. Saves a trip to Notepad ++ at times, although I still find it suite my workflow at times as i can keep data there to refer back to at any time, regardless of what I have going on in my workspace's feature cache. Would still like to see an option to format JSON directly when inspecting the attribute values. Both the Java & Javascript options don't format JSON suitably to make it readable.