Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizes opt* functions #337

Merged
merged 12 commits into from
May 23, 2017
Merged

Optimizes opt* functions #337

merged 12 commits into from
May 23, 2017

Commits on May 16, 2017

  1. adjustments to opt methods in reference to stleary#334

    John J. Aylward committed May 16, 2017
    Configuration menu
    Copy the full SHA
    a8d4e47 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2017

  1. Support for float to BigDecimal in optBigDecimal

    John J. Aylward committed May 17, 2017
    Configuration menu
    Copy the full SHA
    bd4b180 View commit details
    Browse the repository at this point in the history
  2. * Update opt* methods for JSONArray

    * Add support to JSONArray and JSONObject to optionally get raw number values
    * Add support to JSONArray and JSONObject to optionally get float values
    John J. Aylward committed May 17, 2017
    Configuration menu
    Copy the full SHA
    c46774c View commit details
    Browse the repository at this point in the history
  3. grr, forgot to save changes on last commit

    John J. Aylward committed May 17, 2017
    Configuration menu
    Copy the full SHA
    fcdb867 View commit details
    Browse the repository at this point in the history
  4. fixes for javadoc

    John J. Aylward committed May 17, 2017
    Configuration menu
    Copy the full SHA
    0c7bd72 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2017

  1. * Prevent exceptions in cases where the value is not a string.

    * Don't call toString when we know it's a string, just cast
    John J. Aylward committed May 18, 2017
    Configuration menu
    Copy the full SHA
    382f62e View commit details
    Browse the repository at this point in the history
  2. * reverts changes to getDouble and related optDouble and optFloat

    * Updates optNumber to be smarter about which object it uses to parse strings
    John J. Aylward committed May 18, 2017
    Configuration menu
    Copy the full SHA
    c28a2bd View commit details
    Browse the repository at this point in the history
  3. * Adds methods getNUmber and getFloat to JSONArray and JSONObject

    * Extracts the stringToNumber logic that the optNumber method uses to reuse it between classes
    * Fixes -0 issue with optNumber/getNumber
    John J. Aylward committed May 18, 2017
    Configuration menu
    Copy the full SHA
    1ab5260 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a7f8ff2 View commit details
    Browse the repository at this point in the history
  5. updates the getNumber/optNumber to not return invalid Doubles

    John J. Aylward committed May 18, 2017
    Configuration menu
    Copy the full SHA
    849b392 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2017

  1. * Missed JSONArray optFloat and optDouble for the revert

    * prevents erasure of stack trace for rethrown exceptions
    John J. Aylward committed May 19, 2017
    Configuration menu
    Copy the full SHA
    04d6e83 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2017

  1. Configuration menu
    Copy the full SHA
    757b6ed View commit details
    Browse the repository at this point in the history