solarnetwork-api-core
    Preparing search index...

    Function stringMapToObject

    • Convert a Map into a simple object.

      The keys are assumed to be strings. Values that are themselves Map instances will be converted to simple objects as well.

      Parameters

      • strMap: Map<string, any>

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

      Returns object

      a simple object

      Util.Objects.objectToStringMap for the reverse conversion