Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jul 8, 2014
  1. Bump version to 0.2.1.

    authored
  2. Split paragraphs.

    authored
Commits on Jul 7, 2014
  1. buf -> buffer

    authored
  2. Skip buffer if data is already well-formed UTF-8.

    authored
    Provides ~20% performance increase.
  3. Prioritize closing object brace over array bracket.

    authored
    It’s more common to have arrays of objects than nested arrays, so this
    avoids extra String#=== comparison calls.
  4. Prioritize quote comparison over closing brace.

    authored
    In real documents, this avoids hundreds of extra String#=== comparison
    calls.
Commits on Jul 6, 2014
  1. Bump version to 0.2.0.

    authored
  2. Document private methods.

    authored
  3. Add finish method.

    authored
  4. Allow any value as a complete document.

    authored
    Restricted to object and array values in RFC 4627, and expanded to all
    value types in RFC 7158.
  5. Extract end_value method.

    authored
  6. Exponents always result in Floats.

    authored
    Matches json gem, yajl-ruby, and Ruby literal behavior.
Commits on Jul 4, 2014
  1. Explicitly test class of parsed exponents.

    authored
    212 == 212.0 so we need the class test too.
  2. Test zero with exponent.

    authored
  3. Add empty? method.

    authored
Commits on Jul 3, 2014
  1. Use each_byte enumerator to avoid excess Array gc.

    authored
    Ruby 1.9.2 returned an Enumerator from `bytes`. Ruby 2.0 changed this
    to return an Array, which then needs to be garbage collected.
  2. b -> byte

    authored
Commits on Jun 30, 2014
  1. One byte at a time.

    authored
  2. Fix string interpolation.

    authored
    Test was passing, but for the wrong reason.
  3. Add parser finish tests.

    authored
Something went wrong with that request. Please try again.