JsonExtensions extension
Defines extensions on string expressions to support the json1 api from Dart.
- on
Methods
-
jsonArrayLength(
[String? path]) → Expression< int> - Assuming that this string is a json array, returns the length of this json array.
-
jsonExtract<
T> (String path) → Expression< T> -
Assuming that this string is a json object or array, extracts a part of
this structure identified by
path
.