private static String parse(JsonValue base){
  if (!base.isString()) {
    return null;
  }
  return buildString(base.asString());
}

private static String parse ( JsonValue base ) { if ( ! base . isString ( ) ) { return null ; } return buildString ( base . asString ( ) ) ; }
start the string parsing . if base is not a string , will return null .
