Lovelyxredxpanda / json-simple

Automatically exported from code.google.com/p/json-simple
Apache License 2.0
0 stars 0 forks source link

Build JSONArray from a Collection #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a feature request.

JSONObject has a constructor that accepts a Map as the first parameter, but 
JSONArray doesn't have any similar counterpart. It would be logical to have a 
second constructor for JSONArray that looks like this:

public JSONArray(Collection collection)

Can someone add that?

Original issue reported on code.google.com by soaper...@gmail.com on 11 Dec 2014 at 11:07

GoogleCodeExporter commented 9 years ago
Actually... I see some code commits showing this is already done. When will 
this be released and available via Maven? Looks like the last release was 2 
years ago...

Original comment by soaper...@gmail.com on 12 Dec 2014 at 3:30