@Test public void checkDecodingOfEntitySetNames() throws Exception { JsonServiceDocumentConsumer parser = new JsonServiceDocumentConsumer(); InputStream in = ClassLoader.class.getResourceAsStream("/svcDocJson.json"); ServiceDocument serviceDoc = parser.parseJson(in); EdmEntitySetInfo entitySetInfo = serviceDoc.getEntitySetsInfo().get(6); assertEquals(":EncodedName", entitySetInfo.getEntitySetName()); assertEquals("%3AEncodedName", entitySetInfo.getEntitySetUri().toASCIIString()); }
public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); }
JsonServiceDocumentConsumer { public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); } }
JsonServiceDocumentConsumer { public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); }  }
JsonServiceDocumentConsumer { public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); }  ServiceDocumentImpl parseJson(final InputStream in); }
JsonServiceDocumentConsumer { public ServiceDocumentImpl parseJson(final InputStream in) throws EntityProviderException { return readServiceDocument(createJsonReader(in)); }  ServiceDocumentImpl parseJson(final InputStream in);  }