资 源 简 介
Give a java object and serialize it in many formats! get the feed and create the java object! Easy ;)
```
boolean indent = true;
OutpuStream outputStream = new FileOutputStream("file1.txt");
Map extraParameters = new HashMap();
//in XML
UniversalSerializer.getInstance().write(outputStream, myObbject, indent,extraParameters, OutputFormat.XML);
//in JSON
UniversalSerializer.getInstance().write(outputStream, myObbject, indent,extraParameters, OutputFormat.JSON);
//in Python
UniversalSerializer.getInstance().write(outputStream, myObbject, indent,extraParameters, OutputFormat.PYTHON);
//in PHP
UniversalSerializer.getInstance().write(outputStream, myObbject, indent,extraParameters, OutputFormat.PHP);
//in Ruby
UniversalSerializer.getInstance().write(outputStream, myObbject, indent,extraParameters, OutputFormat.RUBY);
//in Atom
UniversalSerializer.getInstance().write(outputStream, myObbject, indent,extraParameters, OutputFormat.ATOM);