com.github.gpluscb.ggjava.entity.object.response.scalars.JSONResponse Maven / Gradle / Ivy
package com.github.gpluscb.ggjava.entity.object.response.scalars;
import com.github.gpluscb.ggjava.entity.EntityType;
import com.github.gpluscb.ggjava.entity.object.scalars.GGJSON;
import javax.annotation.Nonnull;
/**
* The JSON
scalar type represents JSON values as specified by
* ECMA-404.
*/
public class JSONResponse extends ScalarResponse implements GGJSON {
public JSONResponse() {
super(EntityType.JSON);
}
/**
* @throws IllegalArgumentException if value is null
*/
public JSONResponse(@Nonnull String value) throws IllegalArgumentException {
super(EntityType.JSON, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy