Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-354

JsonReader: No valid JSON format for reading Int64

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible

      There is no way for JsonReader to read a strict JSON-conforming Int64 in the range int.MinValue to int.MaxValue. This is an issue if reading documents generated by a strict JSON implementation.

      Possible solutions:

      • permitting CurrentBsonType to be Int32 or Int64 in ReadInt64
      • an additional extended format, i.e. "
        Unknown macro: { "bigValue"}

        "; forces bigValue to be an Int64 regardless of the actual value.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            qdervish Derek Ludwig
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: