API Reference / @dasch-ng/json-viewer / SegmentType
Type Alias: SegmentType
SegmentType =
"number"|"boolean"|"string"|"undefined"|"null"|"object"|"array"|"date"|"function"
Defined in: segment.ts:9
Represents the different types of values that can be displayed in the JSON viewer.
Remarks
These types are used to apply different styling and behavior to each value type. For example, strings are quoted, arrays show their length, and circular references are detected and displayed appropriately.