[go-nuts] Problems to create the JSON structure dynamically

2016-09-08 Thread Jens Ramhorst
Hello, I'm unable o create dynamically the given JSON structure. I need the following JSON structure for a linechart with two timeseries: [ [{ "time": 141004800, "val": 2182257289.448362 }, { "time": 141013440, "val": 1693164286.4698827 }, { "time": 141022080, "val": 0 }], [{ "time":

[go-nuts] Re: Problems to create the JSON structure dynamically

2016-09-08 Thread Jens Ramhorst
Thank you, after a meal i found the same solution :-) -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options,

[go-nuts] Initialize a nested autogenerated structure

2016-09-15 Thread Jens Ramhorst
Hello, I need to create the following JSON-File: [{ "key": "Series 1", "values": [ [ 105167520, 0.44227126150934 ], [ 105435360, 7.2481659343222 ],