# Released under the MIT License. See LICENSE for details.#"""Json related tools functionality."""from__future__importannotationsimportjsonfromtypingimportTYPE_CHECKING,overrideifTYPE_CHECKING:fromtypingimportAny
[docs]classNoIndent:"""Used to prevent indenting in our custom json encoder. Wrap values in this before passing to encoder and all child values will be a single line in the json output."""def__init__(self,value:Any)->None:self.value=value