while we're at it, booleans shouldn't be added to the Map as Strings

On Wednesday, June 29, 2016 at 3:16:57 PM UTC-7, [email protected] wrote:
>
> the json parser needs line 549 fixed.  even when useLongsDefault is set to 
> true, the code parses as a double.  The reason is on line 549 of JSONParser:
>
>     public void longToken(long tok) {
>         if (isStackHash()) {
>             getStackHash().put(currentKey, new Double(tok));  <<< not new 
> Double, should be new Long(tok)
>             currentKey = null;
>         } else {
>             getStackVec().add(new Long(tok));
>         }
>     }
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/72c39dab-e22a-4888-9c00-66954359fc41%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to