All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.jangaroo.jooc.json.Json Maven / Gradle / Ivy

There is a newer version: 4.1.17
Show newest version
/*
 * Copyright (c) 2009, CoreMedia AG, Hamburg. All rights reserved.
 */
package net.jangaroo.jooc.json;

/**
 *
 */
public interface Json {
  Object get(String property);

  void set(String property, Object value);

  /**
   * Make a pretty-printed JSON text of this JSONObject.
   * 

* Warning: This method assumes that the data structure is acyclical. * * @param indentFactor The number of spaces to add to each level of * indentation. * @param indent The indentation of the top level. * @return a printable, displayable, transmittable * representation of the object, beginning * with { (left brace) and ending * with } (right brace). */ String toString(int indentFactor, int indent); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy