Skip to content

Reporter system, JSON library, and Geochemistry module help #15796

Discussion options

You must be logged in to vote

OK, the json problem is almost definitely that it's not parsing the "note" in the following correctly.

    "Al13O4(OH)24(7+)": {
      "species": {
        "Al+++": 13.0,
        "H+": -32.0,
        "H2O": 28.0
      },
      "charge": 7.0,
      "radius": 11.0,
      "molecular weight": 822.9328,
      "logk": [
        125.1868,
        98.7072,
        61.6358,
        19.2684,
        -33.6908,
        -86.65,
        -139.6092,
        -192.5684
      ],
      "note": "Missing array values in original database have been filled using a linear fit. Original values are [125.1868, 98.7072, 500.0000, 500.0000, 500.0000, 500.0000, 500.0000, 500.0000]"
    },

These lines of C++ are not wo…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@aeslaughter
Comment options

@aeslaughter
Comment options

Comment options

You must be logged in to vote
1 reply
@aeslaughter
Comment options

Comment options

You must be logged in to vote
1 reply
@WilkAndy
Comment options

Comment options

You must be logged in to vote
1 reply
@aeslaughter
Comment options

Answer selected by aeslaughter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants