/******************************************************************************* * Copyright 2013 SAP AG * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. ******************************************************************************/ package com.sap.core.odata.core.ep.util; /** * String constants for formatting and parsing of JSON. * @author SAP AG */ public class FormatJson { public static final String D = "d"; public static final String RESULTS = "results"; public static final String COUNT = "__count"; public static final String METADATA = "__metadata"; public static final String DEFERRED = "__deferred"; public static final String ID = "id"; public static final String CONTENT_TYPE = "content_type"; public static final String MEDIA_SRC = "media_src"; public static final String MEDIA_ETAG = "media_etag"; public static final String EDIT_MEDIA = "edit_media"; public static final String PROPERTIES = "properties"; public static final String URI = "uri"; public static final String NULL = "null"; public static final String TRUE = "true"; public static final String FALSE = "false"; public static final String TYPE = "type"; public static final String ETAG = "etag"; public static final String ENTITY_SETS = "EntitySets"; public static final String NEXT = "__next"; public static final String ERROR = "error"; public static final String CODE = "code"; public static final String MESSAGE = "message"; public static final String LANG = "lang"; public static final String VALUE = "value"; public static final String INNER_ERROR = "innererror"; public static final String DELTA = "__delta"; }