Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stleary/JSON-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mtanana/JSON-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Jun 26, 2013

  1. Update JSONObject.java

    mtanana committed Jun 26, 2013
    Configuration menu
    Copy the full SHA
    f68bcc9 View commit details
    Browse the repository at this point in the history
  2. Update JSONObject.java

    I don't know if anyone wants this (or whether it violates JSON standards) but I've found that when I use JSONObject.accumulate I want to force an array object.  This saves from having to write checking code on the client side to see if the item is an object or an array.  You can just iterate over it the same way (because sometimes collections only have one item).  
    
    In any case, this mod does it, but I suspect this function may have been written this way on purpose.  Anyway, I love and depend on this library so thanks for keeping it maintained.
    mtanana committed Jun 26, 2013
    Configuration menu
    Copy the full SHA
    5473d32 View commit details
    Browse the repository at this point in the history
Loading