Giter Site home page Giter Site logo

support for double, float about nexusdata HOT 6 CLOSED

dkharrat avatar dkharrat commented on September 27, 2024
support for double, float

from nexusdata.

Comments (6)

dkharrat avatar dkharrat commented on September 27, 2024

Sure. I just pushed release 0.1.1 that supports this now. Be sure to download the newer version of the modelgen jar utility, which was also updated to support the new attributes.

from nexusdata.

sawcioo avatar sawcioo commented on September 27, 2024

Thanks. Where i can found newer version of the modelgen jar?

from nexusdata.

dkharrat avatar dkharrat commented on September 27, 2024

It's linked from the readme file. Here it is: http://dkharrat.github.io/NexusData/bin/modelgen/modelgen-0.1.0.jar

from nexusdata.

sawcioo avatar sawcioo commented on September 27, 2024

Are you sure that it is a jar with float support?

Exception in thread "main" com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected name at line 22 column 8
at com.google.gson.Gson.fromJson(Gson.java:818)
at com.google.gson.Gson.fromJson(Gson.java:768)
at com.google.gson.Gson.fromJson(Gson.java:717)
at com.google.gson.Gson.fromJson(Gson.java:689)
at com.github.dkharrat.nexusdata.modelgen.ModelGenerator.parseFile(ModelGenerator.java:78)
at com.github.dkharrat.nexusdata.modelgen.ModelGenerator.generateModels(ModelGenerator.java:35)
at com.github.dkharrat.nexusdata.modelgen.Startup.main(Startup.java:18)
Caused by: com.google.gson.stream.MalformedJsonException: Expected name at line 22 column 8
at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505)
at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:494)
at com.google.gson.stream.JsonReader.hasNext(JsonReader.java:403)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:666)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:659)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:667)
at com.google.gson.internal.bind.TypeAdapters$25.read(TypeAdapters.java:642)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:93)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:172)
at com.google.gson.Gson.fromJson(Gson.java:803)
... 6 more

from nexusdata.

dkharrat avatar dkharrat commented on September 27, 2024

The stack trace you posted indicates that there is some syntax error in your JSON model. Have you verified that it's valid JSON? If you can paste it here, I can also take a look.

from nexusdata.

sawcioo avatar sawcioo commented on September 27, 2024

You are right. Thanks

from nexusdata.

Related Issues (19)

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.