### Question:
JsonLdUtils { public static String toJsonLD(Object o) { JsonLdTransformer jsonLdTransformer = new JsonLdTransformer(); try { if (o instanceof List) { return Utils.asString(createJsonLdContainer(jsonLdTransformer, (List<? extends AbstractStreamPipesEntity>) o)); } else { return Utils.asString(jsonLdTransformer.toJsonLd(o)); } } catch (IllegalAccessException | InvocationTargetException | InvalidRdfException | ClassNotFoundException e) { logger.error("Could not serialize JsonLd", e); } return null; }  static String toJsonLD(Object o); static T fromJsonLd(String json, Class<T> clazz); static T fromJsonLd(String json, Class<T> clazz, String topElement);  }### Answer:
@Test public void jsonldSeriaulizing() { StaticPropertyGroup group = new StaticPropertyGroup(); group.setElementId("http: List<StaticProperty> staticProperties = new ArrayList<>(); staticProperties.add(new FreeTextStaticProperty()); group.setStaticProperties(staticProperties); group.setIndex(1); group.setInternalName("interName"); group.setShowLabel(true); group.setHorizontalRendering(true); String adapterDescription = JsonLdUtils.toJsonLD(group); System.out.println(adapterDescription); assertTrue( adapterDescription.contains("isHorizontalRendering")); }