public static class GraphSONMapper.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
GraphSONMapper.Builder |
addCustomModule(com.fasterxml.jackson.databind.module.SimpleModule custom)
Supply a mapper module for serialization/deserialization.
|
GraphSONMapper |
create() |
GraphSONMapper.Builder |
embedTypes(boolean embedTypes)
Embeds Java types into generated JSON to clarify their origins.
|
GraphSONMapper.Builder |
loadCustomModules(boolean loadCustomModules)
Try to load
SimpleModule instances from the current classpath. |
GraphSONMapper.Builder |
normalize(boolean normalize)
Forces keys to be sorted.
|
public GraphSONMapper.Builder addCustomModule(com.fasterxml.jackson.databind.module.SimpleModule custom)
public GraphSONMapper.Builder loadCustomModules(boolean loadCustomModules)
SimpleModule instances from the current classpath. These are loaded in addition to
the one supplied to the addCustomModule(com.fasterxml.jackson.databind.module.SimpleModule);public GraphSONMapper.Builder normalize(boolean normalize)
public GraphSONMapper.Builder embedTypes(boolean embedTypes)
public GraphSONMapper create()
Copyright © 2013-2015 TinkerPop. All Rights Reserved.