Modify ↓
Opened 8 years ago
Last modified 5 years ago
#3533 assigned Feature Request
Map Array Read/Write
Reported by: | dexto | Owned by: | Jon |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | map, array | Cc: |
Description
Can this be made possible? Arrays are a pain when used with a map.
Local $json[] Local $map[] $map['test'] = 'hello' Local $array[5] = [1, 2, 3, 4, 5] $json["data"] = $map $json["data"]["arr"] = $array ConsoleWrite($json["data"]["arr"][0] & @CRLF) $json["data"]["arr"][0] = 9 ConsoleWrite($json["data"]["arr"][0] & @CRLF)
Ideally this would be possible:
Local $json[] $json["data"]['test'] = 'hello' $json["data"]["arr"] = [1, 2, 3, 4, 5] $json["data"]["arr"][0] = 9 ConsoleWrite($json["data"]["arr"][0] & @CRLF)
Attachments (0)
Change History (3)
comment:1 Changed 8 years ago by dexto
comment:3 Changed 5 years ago by Jpm
- Owner set to Jon
- Status changed from new to assigned
perhaps Jon can answer it
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
More info: https://www.autoitscript.com/forum/topic/187125-map-array-read/