@yookue/ts-lang-utils
    Preparing search index...

    Function toJsonString

    • Returns a JSON string that represents the given object

      Parameters

      • target: any

        the object to inspect

      Returns undefined | string

      a JSON string that represents the given object

      David Hsing

      toJsonString({foo: 'bar'});    // `{"foo":"bar"}`