CvJsonStringExt extension
Easy string extension, assume a json encoded
- on
Methods
-
cv<
T extends CvModel> ({T builder(Map contextData)?}) → T -
Available on String, provided by the CvJsonStringExt extension
Create an object from a json string. -
cvList<
T extends CvModel> ({T builder(Map contextData)?, bool lazy = true}) → List< T> -
Available on String, provided by the CvJsonStringExt extension
Create a list from a json string. -
cvToJsonPretty(
) → String -
Available on String, provided by the CvJsonStringExt extension
to json helper using 2 spaces indent. -
cvType<
T extends CvModel> (Type type, {T builder(Map contextData)?}) → T -
Available on String, provided by the CvJsonStringExt extension
Create an object from a json string. -
jsonToMap(
) → Model -
Available on String, provided by the CvJsonStringExt extension
Decode string as a map. -
jsonToMapList(
) → ModelList -
Available on String, provided by the CvJsonStringExt extension
Decode string as a list.