public static Criteria criteriaFromJson(String json) {

        return (Criteria) Invoker.invokeFromObject(ObjectFilter.class,
                "createCriteriaFromClass", fromJson(json));

    }
public static Criteria criteriaFromJson(String json) {

        return (Criteria) Invoker.invokeFromObject(ObjectFilter.class,
                "createCriteriaFromClass", fromJson(json));

    }
public static Criteria criteriaFromJson ( String json ) { return ( Criteria ) Invoker . invokeFromObject ( ObjectFilter . class , "createCriteriaFromClass" , fromJson ( json ) ) ; }
Converts a JSON string into a Criteria.
@param json
@return
Converts a JSON string into a Criteria .