001package org.hl7.fhir.utilities.json.model;
002
003public abstract class JsonPrimitive extends JsonElement {
004
005  public abstract String getValue();
006  
007  public String toJson() {
008    return getValue();
009  }
010
011  public boolean asBoolean() {
012    return "true".equals(getValue());
013  }
014}