Comments (5)
See if it will allow the following equivalent statement:
boolean typeWritten = showType && !(arrayType.equals(Object[].class));
If so, let me know, and I will incorporate this into the next update.
from json-io.
I forgot to mention, the example you sent, fails in 2 test cases. You can try this if you have the TestJsonReaderWriter.java file and run the tests there. The code is working fine for me in both Eclipse and Intellij. This sounds like a bug in NetBeans. It also works fine in both Java 1.6 / 1.7.
from json-io.
After using your suggested variant, everything worked as expected - no
silly Netbeans error.
Thank you for your time.
On Sun, Mar 30, 2014 at 11:27 PM, John DeRegnaucourt <
[email protected]> wrote:
See if it will allow the following equivalent statement:
boolean typeWritten = showType && !(arrayType.equals(Object[].class));
If so, let me know, and I will incorporate this into the next update.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-39038351
.
from json-io.
I just committed the variant to the head of json-io. In the next release (2.5.3 or 2.6.0), it will be released. In the meantime, just use the line I sent you.
from json-io.
Great ! Thank you very much and all the best !
On Mar 31, 2014 2:43 AM, "John DeRegnaucourt" [email protected]
wrote:
I just committed the variant to the head of json-io. In the next release
(2.5.3 or 2.6.0), it will be released. In the meantime, just use the line I
sent you.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-39044401
.
from json-io.
Related Issues (20)
- Exception while deserializing `SingletonList` HOT 1
- Incorrect looking tag "14.4.2" for release version 4.14.2 HOT 1
- Possible issue about list of objects that have custom writers HOT 5
- Java class version 55 for 4.14.2 HOT 3
- Revisiting issue 17 HOT 6
- Enums are serialized differently with 4.15.0 HOT 3
- 4.15 --> 4.16 default mapping method fails to parse HOT 7
- Enhance the robustness of tests
- ReadOptionsBuilder HOT 1
- Compile / runtime dependency on com.novell.ldap:jldap HOT 3
- How to deserialise javafx classes with inaccessible fields? HOT 2
- Request for tutorial HOT 2
- NoSuchMethodError after upgrade HOT 24
- Custom serialising of objects with inheritance HOT 2
- Encoding Bug for JsonIo.toJson("🙊🙉🙈", null)? HOT 3
- Custom Writers not including id and ref in output? HOT 3
- Compatibility between 4.14.0 and 4.20.0 HOT 4
- User guide Untyped Usage HOT 1
- high usage of metaspace after upgrade to 4.22.0 HOT 4
- memory leak on LRUCache HOT 12
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-io.