module documentation

FiftyOne JSON handling

Copyright 2017-2025, Voxel51, Inc.

Function stringify Converts unsafe JSON types to strings
Function _handle_bytes Undocumented
Function _handle_date Undocumented
Function _handle_numpy_array Undocumented
Function _is_invalid_number Undocumented
Constant _MASK_CLASSES Undocumented
def stringify(d, _cls=None): (source)

Converts unsafe JSON types to strings

Parameters
dserializable data
_clsUndocumented
Returns
a stringified version of the data
def _handle_bytes(o): (source)

Undocumented

def _handle_date(dt): (source)

Undocumented

def _handle_numpy_array(raw, _cls=None): (source)

Undocumented

def _is_invalid_number(value): (source)

Undocumented

_MASK_CLASSES: set[str] = (source)

Undocumented

Value
set(['Detection', 'Heatmap', 'Segmentation'])