code: function(object){
      if(isDecorated(object)) {
        return object;
      }
      if(Array.isArray(object)) {
        return new JSONArray(object);
      }
      return new JSONObject(object);
    }
docs: Decorate object
  @param {object|JSONObject|JSONArray} [object]
  @returns {JSONObject|JSONArray}
  @static