everwatchsolutions / json-data-generator

A robust, generic, streaming random json data generator for your data
Apache License 2.0
395 stars 176 forks source link

Can't generate array of double #43

Open rotober opened 6 years ago

rotober commented 6 years ago

Hi, I need to generate json messages like the ones produced by CollectD ( a metrics collector among many, but I should use that...). Messages are like these two:

After lot of configurations I wasn't able to produce a message with {"values":[0,0]...... Seems that are not supported array of values of primitives types. Have you any suggestion ? Thanks R.

andrewserff commented 6 years ago

Hey @rotober, thanks for pointing this out. You were correct, arrays didn't support primitives. I've just pushed a fix for that. I'll try to release a new version here soon too. Thanks again!

rotober commented 6 years ago

I have to say thank you for the great job you'done, this is a very useful tool. BR Rob