This module contains code to create and analyze messages to/from the web client.
Format a response to meta request.
idp – the response
- Returns out
a meta request
json_to_literals(state, jsonstr: str)¶
Parse a json string and create assignments in a state accordingly. This function can also overwrite assignments that have already been set as a default assignment, effectively overriding the default.
state – a State object containing the concepts that appear in the json
jsonstr – the user’s assignments in json
- Return type