You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed some strange behavior I think in the the code above.
if the LF (\n) in json value, the result of serializedRequest is \n.
if the escaped LF (\n) in json value, the result of serializedRequest is \\n.
I expect result of serializedRequest is \n. (Since the server side can't parse the json which \n in it well, \n is OK.)
How can I do this? Can I customize the ObjectMapper above?
The text was updated successfully, but these errors were encountered:
WebClientGraphQLClient.class
@Suppress("BlockingMethodInNonBlockingContext") val serializedRequest = GraphQLClients.objectMapper.writeValueAsString( Request( query, variables, operationName ) )
I noticed some strange behavior I think in the the code above.
if the LF (\n) in json value, the result of serializedRequest is \n.
if the escaped LF (\n) in json value, the result of serializedRequest is \\n.
I expect result of serializedRequest is \n. (Since the server side can't parse the json which \n in it well, \n is OK.)
How can I do this? Can I customize the ObjectMapper above?
The text was updated successfully, but these errors were encountered: