JSONRPCBridge.registerLocalArgResolver(JSONRPCBridge.class, WOContext.class, new WOSessionArgResolver());
JSONRPCBridge.getSerializer().registerSerializer(new EOEnterpriseObjectSerializer());
JSONRPCBridge.getSerializer().registerSerializer(new NSArraySerializer());
JSONRPCBridge.getSerializer().registerSerializer(new NSDictionarySerializer());
JSONRPCBridge.getSerializer().registerSerializer(new NSTimestampSerializer());
JSONRPCBridge.getSerializer().registerSerializer(new NSDataSerializer());
JSONRPCBridge.getSerializer().registerSerializer(new ERXConstantSerializer());
isInitialized = true;
}
catch (Exception e) {
throw new RuntimeException("Failed to initialize JSON.");