Coder Social home page Coder Social logo

Comments (2)

molsonkiko avatar molsonkiko commented on August 12, 2024

This isn't valid JSON, and the URL has nothing to do with it. There are a bunch of quotes that aren't properly escaped. Recall that literal " characters inside a string must have \ before them, like so: \". No reasonable JSON parser is going to be able to handle this.

Once all the quotes are escaped, your text looks like this:

{"AGREEMENT": "<...>3. All advertising materials mentioning features or use of this software must display the following acknowledgment: \"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)\"\n4. The names \"OpenSSL Toolkit\" and \"OpenSSL Project\" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact [email protected].<...>"}

The highlighting issue you mention, where the lexer incorrectly marks the part of a string following a URL as an error, has nothing to do with this plugin. The syntax coloring is done by a Lexilla lexer.

from json-viewer.

SinghRajenM avatar SinghRajenM commented on August 12, 2024

Closing as not a valid bug.

from json-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.