Coder Social home page Coder Social logo

possible issue about json-io HOT 5 CLOSED

jdereg avatar jdereg commented on August 26, 2024
possible issue

from json-io.

Comments (5)

jdereg avatar jdereg commented on August 26, 2024

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.

jdereg avatar jdereg commented on August 26, 2024

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.

dagavriliu avatar dagavriliu commented on August 26, 2024

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.

jdereg avatar jdereg commented on August 26, 2024

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.

dagavriliu avatar dagavriliu commented on August 26, 2024

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)

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.