Searched refs:toJsonValue (Results 1 - 25 of 145) sorted by relevance

123456

/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/service/
H A DRestStatusService.java50 jsonResponse = ((ResourceException) throwable).toJsonValue();
52 jsonResponse = ResourceException.getException(status.getCode(), throwable.getMessage()).toJsonValue();
56 jsonResponse = ResourceException.getException(status.getCode(), status.getDescription()).toJsonValue();
58 jsonResponse = ResourceException.getException(status.getCode()).toJsonValue();
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/
H A DJsonDeviceSerialisation.java34 return JsonValueBuilder.toJsonValue(value);
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/service/
H A DRestStatusService.java50 jsonResponse = ((ResourceException) throwable).toJsonValue();
52 jsonResponse = ResourceException.getException(status.getCode(), throwable.getMessage()).toJsonValue();
56 jsonResponse = ResourceException.getException(status.getCode(), status.getDescription()).toJsonValue();
58 jsonResponse = ResourceException.getException(status.getCode()).toJsonValue();
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/devices/
H A DJsonDeviceSerialisation.java34 return JsonValueBuilder.toJsonValue(value);
H A DDeviceJsonUtils.java52 public JsonValue toJsonValue(T deviceSetting) throws IOException { method in class:DeviceJsonUtils
55 return JsonValueBuilder.toJsonValue(stringWriter.toString());
83 list.add(toJsonValue(deviceSettingsItem));
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/customendpoint/script/
H A Decho.groovy41 context: context.toJsonValue().getObject()
48 context: context.toJsonValue().getObject()
57 context: context.toJsonValue().getObject()
66 context: context.toJsonValue().getObject()
81 context: context.toJsonValue().getObject()
90 context: context.toJsonValue().getObject()
98 context: context.toJsonValue().getObject()
/forgerock/openam-v13/openam-scripting/src/test/java/org/forgerock/openam/scripting/rest/batch/helpers/
H A DScriptResponseTest.java32 input.putResponse("PartOne", JsonValueBuilder.toJsonValue("{ }"));
33 input.putResponse("PartTwo", JsonValueBuilder.toJsonValue("{ }"));
/forgerock/openam/openam-scripting/src/test/java/org/forgerock/openam/scripting/rest/batch/helpers/
H A DScriptResponseTest.java32 input.putResponse("PartOne", JsonValueBuilder.toJsonValue("{ }"));
33 input.putResponse("PartTwo", JsonValueBuilder.toJsonValue("{ }"));
/forgerock/openam-v13/openam-authentication/openam-auth-fr-oath/src/main/java/org/forgerock/openam/authentication/modules/fr/oath/
H A DJsonConversionUtils.java47 public static JsonValue toJsonValue(OathDeviceSettings oathDeviceSetting) throws IOException { method in class:JsonConversionUtils
50 return JsonValueBuilder.toJsonValue(stringWriter.toString());
78 list.add(toJsonValue(oathDeviceSettingsItem));
/forgerock/openam/openam-push-notification/src/test/java/org/forgerock/openam/services/push/sns/
H A DSnsPushMessageConverterTest.java40 JsonValue value = JsonValueBuilder.toJsonValue(result);
48 JsonValue gcmValue = JsonValueBuilder.toJsonValue(value.get("GCM").asString());
61 JsonValue apnsValue = JsonValueBuilder.toJsonValue(value.get("APNS").asString());
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/
H A DRecordPropertiesTest.java37 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(IOUtils
49 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
59 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
69 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
78 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
87 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
95 RecordProperties recordPropertiesBeforeExport = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
133 JsonValueBuilder.toJsonValue(IOUtils.getFileContentFromClassPath(RecordPropertiesTest.class,
138 RecordProperties recordPropertiesNotSharePassword = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
156 RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
[all...]
H A DDefaultDebugRecorderTest.java69 JsonValue jsonRecordProperties = JsonValueBuilder.toJsonValue(IOUtils.getFileContentFromClassPath(DefaultDebugRecorderTest.class, RecordPropertiesTest.RECORD_DIRECTORY + "oneRecordFirstRecord.json"));
133 JsonValue jsonRecordProperties1 = JsonValueBuilder.toJsonValue(
136 JsonValue jsonRecordProperties2 = JsonValueBuilder.toJsonValue(
198 JsonValue jsonRecordProperties = JsonValueBuilder.toJsonValue(
227 JsonValue jsonRecordProperties = JsonValueBuilder.toJsonValue(
252 JsonValue jsonRecordProperties = JsonValueBuilder.toJsonValue(
H A DRecordResourceTest.java64 JsonValue jsonRecordProperties = JsonValueBuilder.toJsonValue(
86 JsonValue jsonRecordProperties = JsonValueBuilder.toJsonValue(
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/record/
H A DRecordPropertiesTest.java37 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(IOUtils
49 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
59 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
69 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
78 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
87 RecordProperties recordProperties = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
95 RecordProperties recordPropertiesBeforeExport = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
133 JsonValueBuilder.toJsonValue(IOUtils.getFileContentFromClassPath(RecordPropertiesTest.class,
138 RecordProperties recordPropertiesNotSharePassword = RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
156 RecordProperties.fromJson(JsonValueBuilder.toJsonValue(
[all...]
H A DRecordResourceTest.java66 JsonValue jsonRecordProperties = JsonValueBuilder.toJsonValue(
84 JsonValue jsonRecordProperties = JsonValueBuilder.toJsonValue(
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DToken.java68 JsonValue toJsonValue(); method in interface:Token
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/rest/wrappers/
H A DApplicationTypeWrapper.java86 public JsonValue toJsonValue() throws IOException { method in class:ApplicationTypeWrapper
88 return JsonValueBuilder.toJsonValue(mapper.writeValueAsString(this));
H A DReferralWrapper.java92 public JsonValue toJsonValue() throws IOException { method in class:ReferralWrapper
94 return JsonValueBuilder.toJsonValue(mapper.writeValueAsString(this));
/forgerock/openam/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DJsonValueBuilder.java56 public static JsonValue toJsonValue(String json) throws JsonException { method in class:JsonValueBuilder
71 public static JsonValue toJsonValue(byte[] json) throws JsonException { method in class:JsonValueBuilder
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/rest/wrappers/
H A DApplicationTypeWrapper.java86 public JsonValue toJsonValue() throws IOException { method in class:ApplicationTypeWrapper
88 return JsonValueBuilder.toJsonValue(mapper.writeValueAsString(this));
H A DReferralWrapper.java92 public JsonValue toJsonValue() throws IOException { method in class:ReferralWrapper
94 return JsonValueBuilder.toJsonValue(mapper.writeValueAsString(this));
/forgerock/openam-v13/openam-shared/src/main/java/org/forgerock/openam/utils/
H A DJsonValueBuilder.java54 public static JsonValue toJsonValue(String json) throws JsonException { method in class:JsonValueBuilder
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/http/
H A DAuthenticationServiceV2.java83 jsonResponse = exception.toJsonValue();
85 jsonResponse = ResourceException.getException(response.getStatus().getCode(), response.getStatus().getReasonPhrase()).toJsonValue();
/forgerock/openidm-v4/openidm-provisioner-openicf/src/test/java/org/forgerock/openidm/provisioner/openicf/commons/
H A DObjectClassInfoHelperFactoryTest.java44 schema.put(OBJECT_TYPES, toJsonValue(FileUtil.readFile(new File(
95 private static JsonValue toJsonValue(String json) throws IOException { method in class:ObjectClassInfoHelperFactoryTest
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/http/
H A DAuthenticationServiceV2.java84 jsonResponse = exception.toJsonValue();
86 jsonResponse = ResourceException.getException(response.getStatus().getCode(), response.getStatus().getReasonPhrase()).toJsonValue();

Completed in 287 milliseconds

123456