GithubHelp home page GithubHelp logo

Comments (5)

schmunk42 avatar schmunk42 commented on May 25, 2024

You can edit any JSON without a schema with json-editor.

There are also tools which can generate schemas from data, see https://json-schema.org/implementations - but that's out-of-scope for this project.

from json-editor.

cdtut avatar cdtut commented on May 25, 2024

You can edit any JSON without a schema with json-editor.

How to call JSONEditor function that way?

from json-editor.

schmunk42 avatar schmunk42 commented on May 25, 2024

I don't really understand the question?! You need to initialize an editor anyway.

from json-editor.

cdtut avatar cdtut commented on May 25, 2024

You said you can edit any JSON without a schema with json-editor. But I tried calling with startval and no schema and got error

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '$ref')
    at t.value (jsoneditor.min.js:8:382148)
    at t.<anonymous> (jsoneditor.min.js:8:383712)
    at u (jsoneditor.min.js:8:370346)
    at Generator.<anonymous> (jsoneditor.min.js:8:371702)
    at Generator.next (jsoneditor.min.js:8:370709)
    at Zn (jsoneditor.min.js:8:376356)
    at a (jsoneditor.min.js:8:376560)
    at jsoneditor.min.js:8:376621
    at new Promise (<anonymous>)
    at t.<anonymous> (jsoneditor.min.js:8:376500)

from json-editor.

schmunk42 avatar schmunk42 commented on May 25, 2024

Please provide a complete example here: https://pmk65.github.io/jedemov2/dist/demo.html

from json-editor.

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.