json_render library
Classes
- Geolocation
-
A geolocation pair value in
_latitude
and_longitude
. - JSONRender
- The JSON Render.
- JSONValueSet
- NodeKey
- TypeAction
- Action to perform when clicking in the node.
- TypeBoolRender
- Renders a JSON boolean.
- TypeChartsRender
- Renders Charts, detecting series in JSON.
- TypeDateRender
- Renders a Date value.
- TypeEmailRender
- Renders an e-mail.
- TypeGeolocationRender
- Renders a Geo location coordinate.
- TypeImageURLRender
- Renders an image from an URL.
- TypeImageViewerRender
- Renders an Image with informations from an JSON Object.
- TypeListRender
- Renders a JSON List.
- TypeMapper
- Represents a node type mapper. Allows to change node tree for a better TypeRender matching of visualization.
- TypeMediaRender
- Base class to render images and other types of media.
- TypeNullRender
- Renders a JSON null value.
- TypeNumberRender
- Renders a JSON number.
- TypeObjectRender
- Renders a JSON Object.
- TypePaging
- Renders a paging result JSON tree.
- TypePercentageRender
- Renders a percentage value.
- TypeRender
- Abstract class for type renders.
- TypeSelectRender
- Renders a select element.
- TypeTableRender
- Renders a Table of data.
- TypeTextRender
- Renders a JSON text.
- TypeTimeRender
- Renders time: seconds, minutes, hours and days in inMilliseconds or seconds.
- TypeUnixEpochRender
- Renders a Unix time inMilliseconds or in seconds.
- TypeURLRender
- Renders an URL.
- URLFiltered
- ValueProviderReference
Constants
-
jsonRenderThemeDark
→ const Map<
String, TextStyle> -
jsonRenderThemeLight
→ const Map<
String, TextStyle>
Properties
- jsonRenderDefaultThemeSet → CSSThemeSet
-
final
Functions
-
convertToJSONAsString(
dynamic jsonNode, [String indent = ' ']) → String? -
normalizeJSONValueNumber(
dynamic value) → num? -
normalizeJSONValuePrimitive(
dynamic value, [bool forceString = false]) → dynamic -
valueProviderNull(
dynamic parent) → dynamic
Enums
- JSONRenderMode
- Enum for render modes.
Typedefs
- FilterURL = URLFiltered Function(String? url)
- NodeAction = void Function(dynamic node, dynamic parent, NodeKey nodeKey)
- NodeMap = dynamic Function(dynamic node, dynamic parent, NodeKey nodeKey)
- NodeMatcher = bool Function(dynamic node, dynamic parent, NodeKey nodeKey)
- NodeUnmap = dynamic Function(dynamic node, dynamic nodeOriginal, dynamic parent, NodeKey nodeKey)
- NodeValidator = bool Function(dynamic node, dynamic parent, NodeKey nodeKey)
- SizeProvider = int Function()
- ValueProvider = dynamic Function(dynamic parent)