Giter Site home page Giter Site logo

Comments (4)

sorariver avatar sorariver commented on July 20, 2024 1

by the way.. for the comma issue, which the created schema has unnecessary commas,
i resolved..(but the item{type:string} is still ongoing )

can i pull the request? ( actually i am very new to github)

from json-string-schema-generator.

simplymequeeny avatar simplymequeeny commented on July 20, 2024

from json-string-schema-generator.

sorariver avatar sorariver commented on July 20, 2024

Hi thanks for using. Can i have a sample data? I will check it out against the generator

On Sat, Oct 13, 2018, 11:38 AM sorariver @.***> wrote: Hi, i am a user of this project. i realized that if I add below.... { "vegetables": { "veggieName": "potato", "size":[""] } } generated schema looks like this.. { "title": "test", "description": "new test", "type": "object", "properties": { "vegetables": { "type": "object", "properties": { "veggieName": { "type": "string" }, "size": { "type": "array", "items": { "properties":{} } }, } }, } } the items don't have --type:object -- and unnecessary commas also be located — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1>, or mute the thread https://github.com/notifications/unsubscribe-auth/ATKidOZ_bAy82OUngdvoq6RGFHU8Mb7gks5ukgj6gaJpZM4Xary1 .

Hi thanks for the reply :)
you can try with

String json="{"vegetables":{"veggieName": "potato","size":[""]}}";

FYI : I am using this project code with modification.
mine read json from json.txt not string..

from json-string-schema-generator.

simplymequeeny avatar simplymequeeny commented on July 20, 2024

from json-string-schema-generator.

Related Issues (3)

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.