v1.3.0 is online!

  • JSON validation (http://www.jslint.com/)
  • Some design changes
  • New application code design
  • XML window got an toolbar now
  • Bugfixes
    Note: This is just a completion of the previous post

    • Returns inside keys or values turn now into \n
    • Escaping quotes inside keys or values at tree to string method

    One new, let's say "Known Bug"
    I found out that Adobe Air and / or codemirror adding a ​​ (more information about this at www.quirksmode.org) at the end of a CodeMirror input. This normally doesn't care but if you make a "Select All" (Strg+A) and a "Copy" (Strg+C) after you will copy the string with this html sign.
    So this matters if you put the string into an textarea cause the browsers ignore that html sign inside an textarea, but they set the value after paste with the sign. This can occur an error in different ways.
    For example: If you have a JSON string inside an database and changing it with an normal html textarea. Some JSON parsers can now give an error cause there is this html sign at the end of the string.
    But, this sign is just in your clipboard if you press Strg+A for selection all inside CodeMirror. So you have some different ways without getting this error:
    1. Copy the string with the button inside JSONpad. How i said it just happens at selecting all..
    2. Select the string from the beginning to the end by yourself. But remember that you just select it to the last } or ].
    3. Turning off the Syntax Highlighting. This also turns off CodeMirror and you have a normal textarea.

    Maybe i can fix it, but at the moment it is not blocking me at working with JSONpad.

    have fun,

    No comments:

    Post a Comment