public class JsonSerializer extends Object implements SwaggerSerializer
Constructor and Description |
---|
JsonSerializer() |
Modifier and Type | Method and Description |
---|---|
List<Document> |
deserialize(InputStream stream) |
InputStream |
serialize(Document doc) |
public List<Document> deserialize(InputStream stream) throws TranslatorException
deserialize
in interface SwaggerSerializer
TranslatorException
public InputStream serialize(Document doc) throws TranslatorException
serialize
in interface SwaggerSerializer
TranslatorException
Copyright © 2016 JBoss by Red Hat. All rights reserved.