Skip to content

Fails in test; "-7" doesn't work #3

@nathanieltagg

Description

@nathanieltagg

Hi,
Just testing to see if maybe BSON is an answer to a problem I have. But my test case fails:

$ cat tmp.json
{"x":-7,"y":78.38,"z":576.08,"P":0.50}

$ bsontools/mac/fromjson < tmp.json > out.bson
fromjson parse error - Bad characters in expected numeric value line:1, file_offset:7, doc_number:1

I can't find the problem in the source code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions