CvJsonStringExt extension

Easy string extension, assume a json encoded

on

Methods

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