Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: JSON Editor

  1. #1
    Untangler gjacob3412's Avatar
    Join Date
    Mar 2011
    Location
    C-KY/USA
    Posts
    73

    Default JSON Editor

    I've searched off and on, both via the UT system and Google.

    I can't seem to find a decent JSON editor that will allow me to open my exported settings (such as the Firewall) and edit them.

    Anyone use one?

    Thanks

  2. #2
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,486

    Default

    notepad?



    And while we're on the subject, exports from one version CAN NOT be imported into another version.
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  3. #3
    Untangle Ninja dbunyard's Avatar
    Join Date
    Nov 2008
    Location
    Westerville, Ohio, USA
    Posts
    1,051

    Default

    Quote Originally Posted by dmorris View Post
    notepad?



    And while we're on the subject, exports from one version CAN NOT be imported into another version.
    Notepad++ is better.
    Dan

    You may one day find something interesting here. Today is not that day. Tomorrow isn't looking too good either.

  4. #4
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,486

    Default

    Quote Originally Posted by dbunyard View Post
    Notepad++ is better.
    emacs is better.
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  5. #5
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,543

    Default

    vi ? And I'm not talking about the vim crap we get on Debian... the good old fashioned WYSE terminal ready vi.

    And, notepad++ is a nice tool. I prefer Editplus, but it's not free.

    The text editor in WinSCP is nice too.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  6. #6
    Untangle Ninja dbunyard's Avatar
    Join Date
    Nov 2008
    Location
    Westerville, Ohio, USA
    Posts
    1,051

    Default

    Quote Originally Posted by dmorris View Post
    emacs is better.
    lol Uncle...
    Dan

    You may one day find something interesting here. Today is not that day. Tomorrow isn't looking too good either.

  7. #7
    Untangle Ninja sky-knight's Avatar
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Posts
    26,543

    Default

    Quote Originally Posted by dbunyard View Post
    lol Uncle...
    Ditto, only because I'm sure Dirk actually knows how to USE emacs... which sorta scares me.
    Rob Sandling, BS:SWE, MCP
    NexgenAppliances.com
    Phone: 866-794-8879 x201
    Email: support@nexgenappliances.com

  8. #8
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,486

    Default

    all joking aside, emacs does make a pretty good json editor.
    I just use js2-mode and add "var foo = " in the beginning of the file. Doing that makes it valid javascript and all other stuff works.
    you can probably use the same hack in other editors that have some sort of javascript mode.
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

  9. #9
    Untangler gjacob3412's Avatar
    Join Date
    Mar 2011
    Location
    C-KY/USA
    Posts
    73

    Default

    Quote Originally Posted by dbunyard View Post
    Notepad++ is better.
    Importing into Notepad++ give me a single line of code. While I guess that at some point I'll find the right setting, what should I look for?

    Quote Originally Posted by dmorris
    And while we're on the subject, exports from one version CAN NOT be imported into another version.
    is there a simple why not, other then it just won't work?

  10. #10
    Untangle Junkie dmorris's Avatar
    Join Date
    Nov 2006
    Location
    San Carlos, CA
    Posts
    17,486

    Default

    Quote Originally Posted by gjacob3412 View Post
    is there a simple why not, other then it just won't work?
    Because they aren't the same format.
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
    If you need Untangle support please call or email support@untangle.com

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2