I get the response in the form of an associative array encoded in json, which contains 3 elements of the boolean, integer and string types.
responses:
200:
description: Success
content:
application/json:
schema:
properties:
data:
type: object
properties:
success:
type: boolean
example: true
code:
type: integer
example: 200
msg:
type: string
example: "Success!"
This is what the answer looks like:
{"success":true,"code":200,"msg":"\u0423\u0441\u043f\u0435\u0445!"}
But I don't understand how to decode the msg element. Tips?