Comments (5)
What do you mean by "can't generate unit" ? JsonDataObjects can read that JSON string.
from jsondataobjects.
It crashes on line 556 in Pkg.Json.Mapper (Delphi 10.3.3):
Lines.AddFormat(' %s: TObjectList<%s>;', [StubField.FieldName, StubArrayField.FieldClass.Name]);
from jsondataobjects.
So you are not using my JsonDataObjects unit but reporting a bug in Delphi's own JSON library?
Delphi's JSON library uses the same class names, so it could happen that TJsonObject is not from JsonDataObjects but from System.JSON.pas
from jsondataobjects.
Could it be that you do a hard type cast "TJsonObject(obj)" somewhere but you cast to the wrong TJsonObject class.
from jsondataobjects.
Sorry, my mistake, wrong github repo .
from jsondataobjects.
Related Issues (20)
- JsonPath support HOT 2
- Can Delphi 2007 be supported
- Should line not use 'JsonMemInfoMainBlockStart' instead of 'JsonMemInfoBlockStart' HOT 3
- DPM support HOT 1
- JsonSerializationConfig ignore fields with empty value
- How to swap elements in array
- index out of range when accessing array of jsonobject HOT 2
- Case insensitive names to access nodes HOT 1
- Support for "delete by path"
- Float value decimal missing when writing
- Extract JsonPath
- Wrong Read/Write SaveToFile/LoadFromFile
- Support 11.0 or 11.1 code
- Support for null json values HOT 1
- ToJson has some bug! HOT 8
- Code for enhancements
- how about ignore case the key? HOT 1
- TJsonBaseObject.ParseFromFile fails on IIS
- uninitialized null type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsondataobjects.