pub fn encode(value: &Value<'_, String>) -> Result<String>
Build the JSON representation of a parsed GraphQL argument value.
Returns FraiseQLError::Validation if the value nests deeper than MAX_DEPTH. Serialization itself cannot fail: every GraphQL value has a JSON counterpart.
FraiseQLError::Validation
MAX_DEPTH