Community
    • Login

    'Unwrapping' something

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 3 Posters 768 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Joe McBrienJ Offline
      Joe McBrien
      last edited by

      Hi,
      I’m not sure what the terminology is, otherwise it might be a simple Google search away:

      I am trying to get a .json file to open like picture A; and it did, once, and I don’t know why or how.
      Picture B is usually what it opens like. What button am I not pressing to get this format?
      Thank you! Great program!!

      Picture A, what I want:
      b25beae3-bebf-4c99-9dd5-968271f0b82c-image.png
      Picture B, what I usually get:
      f0b544e1-e7f3-4d1b-bb8e-09c1f23cc46c-image.png

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @Joe McBrien
        last edited by

        @Joe-McBrien ,

        Notepad++ shows the JSON as it really is. If you want to change how the JSON is formatted, you will need to run some sort of tool – whether a plugin in Notepad++ , like the JSON Viewer plugin or JSON Tools plugin, or whether an external tool that you run on the file before opening it in Notepad++ – which edits the file to use compressed vs. one-per-line layout.

        1 Reply Last reply Reply Quote 1
        • Mark OlsonM Offline
          Mark Olson
          last edited by

          JsonTools is my plugin, and it does have pretty-printing of JSON, which would do what you want.

          That said, JsonTools can’t currently edit files in the hard drive. For example, there’s no tool implemented at present that allows you to choose a bunch of JSON files and pretty-print them all in one go.

          Would you like me to start working on that?

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors