parse
Parses the given text into an object of type T using the provided serializer.
Return
The deserialized object of type T.
Parameters
text
The input string to be deserialized.
serializer
The serializer used to deserialize the input text.
Parses the given JSON string into an object of the specified type.
Return
The parsed object of type T.
Parameters
text
The JSON string to be parsed.