Methods to work with `json_file` representation: load/dump from/to a file.
load_json_file
(annotations_json
:Union
[str
, Path
], kind
:str
='object_detection'
)
dump_json_file
(coco
:CocoDataset
, annotations_json
:Union
[str
, Path
], kind
:str
='object_detection'
, skip_nulls
:bool
=True
, overwrite
:bool
=False
, indent
:Optional
[int
]=4
)