Comments (7)
Original comment by [email protected]
on 20 May 2010 at 11:56
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from json-simple.
Use Itrable instead of Collection in same lines.
Original comment by [email protected]
on 24 May 2010 at 8:43
from json-simple.
I don't think that would be a good idea. If you look at the type hierarchy of
Iterable, there are several other
Iterable objects/interfaces, which are not for the purpose of holding a list
(which is what we want here). It would
suggest that json-simple is capable of handling any type of iterable object,
while it only makes sense putting a
collection in it.
Narrowing it down to List is too narrowed, to Iterable is too wide.
Original comment by [email protected]
on 24 May 2010 at 8:50
from json-simple.
Yes I agree with teh's point.
Original comment by [email protected]
on 24 May 2010 at 10:04
from json-simple.
Hi,
I reported your issue on my github JSON-SIMPLE tree[1] to keep track of your request.
Bye
Piero
[1]https://github.com/ottuzzi/JSON-SIMPLE/issues/4
Original comment by [email protected]
on 24 Aug 2011 at 2:02
from json-simple.
>Narrowing it down to List is too narrowed, to Iterable is too wide.
So what is the reason List is not replaced with Collection as it was originally
proposed?
I'd like to serialize Set without hassle.
Original comment by [email protected]
on 26 Feb 2013 at 3:25
from json-simple.
Done in r210.
Original comment by [email protected]
on 10 Aug 2013 at 1:45
- Changed state: Fixed
from json-simple.
Related Issues (20)
- .Net Implementation
- nullpointer when parsing JSON that starts with Array HOT 1
- Request: New Maven release for Junit dependency scope change HOT 3
- Task :test FAILED org.json.simple.Test > testDecode HOT 1
- No Pretty String output option HOT 2
- Is this dependency was include on the default project that generate from Android Studio?
- getPosition() result from ParseException its diferent that the real character position
- Having error 'cannot be cast to class'.
- Unexpected character () at position 0 HOT 1
- Make new release to address CVE-2020-15250 HOT 8
- Bug: StackOverflow in toString() (infinite recursion)
- When will be next release?
- Integrating json-simple into OSS-Fuzz
- defaulting keys to String and using an efficient HashMap for small data could increase the performance. HOT 2
- Stack overflow error caused by json-simple serialization Map
- Stack overflow error caused by json-simple serialization List
- Nested get
- Include Code coverage to JSON Simple
- Activate github actions for pull requests
- ItemList is vulnerable to out of denial of service (DoS) attack
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 json-simple.