Skip to content

NSJSONSerialization flunks floats #6

@cinayakoshka

Description

@cinayakoshka
  • (void) dataCheck:(NSMutableURLRequest *)request forValue:(id)val
    in the tests...
    This test has uncovered a problem in the JSON library, which is that it decodes floats as decimals, rounding as necessary. We have to override how JSONSerialization is doing this, or possibly report the issue to Apple. Meanwhile, this test might as well just check to see if the decimal is reasonably close to its original value. For now, it's doing nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions