Closed MaryamZi closed 1 week ago
$title. https://github.com/ballerina-platform/module-ballerina-data.jsondata/pull/35 has addressed lists and mappings, but not tables.
import ballerina/data.jsondata; import ballerina/io; type Foo record {| @jsondata:Name { value: "a-b" } int a; |}; public function main() { table<Foo> foo = table [ {a: 123} ]; io:println(jsondata:toJson(foo)); }
0.3.0-SNAPSHOT
No response
Need to consider https://github.com/ballerina-platform/ballerina-library/issues/7326 also when fixing this.
Description
$title. https://github.com/ballerina-platform/module-ballerina-data.jsondata/pull/35 has addressed lists and mappings, but not tables.
Steps to Reproduce
Version
0.3.0-SNAPSHOT
Environment Details (with versions)
No response