public static StringTag parseString(String mojangson){
  Character lastChar=mojangson.charAt(mojangson.length() - 1);
  Character firstChar=mojangson.charAt(0);
  if (firstChar == STRING_QUOTES.getSymbol() && lastChar == STRING_QUOTES.getSymbol()) {
    return new StringTag(mojangson.substring(1,mojangson.length() - 1));
  }
 else {
    return new StringTag(mojangson);
  }
}

public static StringTag parseString ( String mojangson ) { Character lastChar = mojangson . charAt ( mojangson . length ( ) - 1 ) ; Character firstChar = mojangson . charAt ( 0 ) ; if ( firstChar == STRING_QUOTES . getSymbol ( ) && lastChar == STRING_QUOTES . getSymbol ( ) ) { return new StringTag ( mojangson . substring ( 1 , mojangson . length ( ) - 1 ) ) ; } else { return new StringTag ( mojangson ) ; } }
parses an string value from a mojangson string as an nbt stringtag
