Converts a value to a map string. A map string is data that has been converted from a value or map value to a string, and can be converted back to the original value or map value using the MAPSTRTO method.
Map strings are used when you want to set an array or map value as a value using syntax 2 "MAP(keyValues)" of the MAP method. Since syntax 2 of the MAP method specifies a one-dimensional array as an argument, you cannot pass an array or map value as is. Therefore, by first converting the data into a map string and then including it in the map, you can convert the map string extracted from the map back into a map value with the MAPSTRTO method and use it.
This method is for special purposes. In most cases, map values can be generated using the MAP method syntax 1: MAP(key, value [, key, value]...).
|