solarnetwork-api-core
    Preparing search index...

    Function objectToStringMap

    • Convert a simple object into a Map instance.

      Property values that are themselves objects will be converted into Map instances as well.

      Parameters

      • obj: object

        a simple object

      Returns Map<string, any>

      a Map with string keys; nested Map objects are also handled

      Util.Objects.stringMapToObject for the reverse conversion