Package manifold.csv.rt
Class Csv
- java.lang.Object
-
- manifold.csv.rt.Csv
-
public class Csv extends Object
-
-
Constructor Summary
Constructors Constructor Description Csv()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectfromCsv(String csv)static ObjectfromCsv(String csv, boolean withTokens)static StringtoCsv(Object jsonValue)Write the contents of thejsonValueto CSV formatted string following RFC 4180.static voidtoCsv(Object jsonValue, String name, StringBuilder target, int indent)Write the contents of thejsonValueto CSV formatted string following RFC 4180.
-
-
-
Method Detail
-
toCsv
public static String toCsv(Object jsonValue)
Write the contents of thejsonValueto CSV formatted string following RFC 4180. Note data in all fields is enclosed in double quotes. Additionally, since CSV is a flat file format, nesting of data is not directly supported. That is, field values having typeBindingsorList, although legal Bindings value types, have no representation in CSV. Currently, such values are simply converted to strings viatoString(), however this may change in a future revision.
-
toCsv
public static void toCsv(Object jsonValue, String name, StringBuilder target, int indent)
Write the contents of thejsonValueto CSV formatted string following RFC 4180. Note data in all fields is enclosed in double quotes. Additionally, since CSV is a flat file format, nesting of data is not directly supported. That is, field values having typeBindingsorList, although legal Bindings value types, have no representation in CSV. Currently, such values are simply converted to strings viatoString(), however this may change in a future revision.
-
-