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