// MS: Support direct updating of primitive type keys -- so if you don't want to
// wrap your request in XML, this will allow it
// if (!contentStr.trim().startsWith("<")) {
// contentStr = "<FakeWrapper>" + contentStr.trim() + "</FakeWrapper>";
// }
JSON rootJSON = JSONSerializer.toJSON(contentString, configWithContext(context));
rootRequestNode = createRequestNodeForJSON(null, rootJSON, true, delegate);
}
else {
rootRequestNode = new ERXRestRequestNode(null, true);
rootRequestNode.setNull(true);