|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.reflections.serializers.JsonSerializer
public class JsonSerializer
serialization of Reflections to json
an example of produced json:
{"store":{"storeMap":
{"org.reflections.scanners.TypeAnnotationsScanner":{
"org.reflections.TestModel$AC1":["org.reflections.TestModel$C1"],
"org.reflections.TestModel$AC2":["org.reflections.TestModel$I3",
...
| Constructor Summary | |
|---|---|
JsonSerializer()
|
|
| Method Summary | |
|---|---|
Reflections |
read(InputStream inputStream)
reads the input stream into a new Reflections instance, populating it's store |
File |
save(Reflections reflections,
String filename)
saves a Reflections instance into the given filename |
String |
toString(Reflections reflections)
returns a string serialization of the given Reflections instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JsonSerializer()
| Method Detail |
|---|
public Reflections read(InputStream inputStream)
Serializer
read in interface Serializer
public File save(Reflections reflections,
String filename)
Serializer
save in interface Serializerpublic String toString(Reflections reflections)
Serializer
toString in interface Serializer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||