code: func (bj BinaryJSON) Type() string {
  	switch bj.TypeCode {
  	case TypeCodeObject:
  		return "OBJECT"
  	case TypeCodeArray:
  		return "ARRAY"
  	case TypeCodeLiteral:
  		switch bj.Value[0] {
  		case LiteralNil:
  			return "NULL"
  		default:
  			return "BOOLEAN"
  		}
  	case TypeCodeInt64:
  		return "INTEGER"
  	case TypeCodeUint64:
  		return "UNSIGNED INTEGER"
  	case TypeCodeFloat64:
  		return "DOUBLE"
  	case TypeCodeString:
  		return "STRING"
  	default:
  		msg := fmt.Sprintf(unknownTypeCodeErrorMsg, bj.TypeCode)
  		panic(msg)
  	}
  }
docs: // Type returns type of BinaryJSON as string.