Skip to main content
Convert Expression To Json
curl --request POST \
  --url https://api.ionworks.com/variables/convert-expression-to-json \
  --header 'Content-Type: application/json' \
  --data '
{
  "expression": "<string>"
}
'
{
  "value": {}
}

Body

application/json

Request body for converting PyBaMM expression string to JSON.

expression
string
required

Response

Successful Response

Response body with JSON-serialized PyBaMM symbol.

value
Value · object
required