Comments (13)
Look in the example/json folder.
from lgenerics.
maybe also put the resulting .txt logs there, so I don't need to run them?
from lgenerics.
I've added a typical parsing benchmark result(in parse_bench2), and the rest have already been posted on the forum.
from lgenerics.
Only on forum? why not to put to GitHub as well, so people will find them.
from lgenerics.
It's certainly not difficult for me to add them(already added), but it would be much more interesting for me if you could run them on your machine and share the results.
from lgenerics.
Currently when inserting a list of name/value pairs, TJsonConf will raise an exception when trying to insert a duplicate name. Maybe it makes sense to introduce an option such that when it is activated, the value will simply be overwritten?
from lgenerics.
What api are u talking about, SetValue with the existing key? What insert ?
from lgenerics.
If u are talking about SetValue with some conflict of keys-- pls test it on Fpjson and mimic its behavior.
from lgenerics.
I meant this method:
procedure SetValue (const aPath: string; aValue: TStrings; AsObject: Boolean = False);
when AsObject set to True.
from lgenerics.
It should overwrite old value.
from lgenerics.
TJsonConfig currently raises an exception in this situation.
The default behavior of TJsonConf will be the same, but I added an option that when activated, the values of the encountered duplicate names will be silently overwritten.
from lgenerics.
Good, thanks! I am busy now so will test it later. good job.
from lgenerics.
Hmm, not even half a year has passed.
from lgenerics.
Related Issues (11)
- avoid too generic identifiers to avoid possible clash with big apps HOT 5
- Can't compile lgenerics with fpc 3.2 and lazarus 2.0.1 HOT 4
- Linux - lgAvlTree Enumerator Error HOT 3
- No size specified and unable to determine the size of the operands HOT 2
- TGArrayHelpUtil.RandomShuffle produces biased results HOT 1
- The "Equitable" in `TGLiteEquitableHashMap` should be "Equatable" HOT 2
- separate package for JSON HOT 4
- JSON code - compat with Lazarus TJsonConfig HOT 4
- too generic names HOT 6
- FindMaxClique fail HOT 2
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 lgenerics.