Easy to reproduce:
### 20.3.13
```
SELECT 1
FORMAT JSON

{
        "meta":
        [
                {
                        "name": "1",
                        "type": "UInt8"
                }
        ],

        "data":
        [
                {
                        "1": 1
                }
        ],

        "rows": 1,

        "statistics":
        {
                "elapsed": 0.000203731,
                "rows_read": 1,
                "bytes_read": 1
        }
}
```

### 20.4.5
```
:) select 1 format JSON

SELECT 1
FORMAT JSON

{
        "meta":
        [
                {
                        "name": "1",
                        "type": "UInt8"
                }
        ],

        "data":
        [
                {
                        "1": 1
>>>>>>>> no closing bracket <<<<<<<<<<
        ],

        "rows": 1,

        "statistics":
        {
                "elapsed": 0.000771732,
                "rows_read": 1,
                "bytes_read": 1
        }
}
```
### master
```

SELECT 1
FORMAT JSON

{
        "meta":
        [
                {
                        "name": "1",
                        "type": "UInt8"
                }
        ],

        "data":
        [
                {
                        "1": 1
>>>>>>>> no closing bracket <<<<<<<<<<
        ],

        "rows": 1,

        "statistics":
        {
                "elapsed": 0.00103364,
                "rows_read": 1,
                "bytes_read": 1
        }
}

```

ASTPtr parseQuery(const char * & pos, const char * end, bool allo_multi_stements)
    {
        ParserQuery parser(end, true)
        ASTPtr res
        const auto & settings = context.getSettingsRef()
        size_t max_length = 0
        if (!allo_multi_stements)
            max_length = settings.max_query_size
        if (is_interactive || ignore_error)
        {
            String message
            res = tryParseQuery(parser, pos, end, message, true, "", allo_multi_stements, max_length, settings.max_parser_depth)
            if (!res)
            {
                std::cerr << st << message << st << st
                return nullptr
            
        
        else
            res = parseQueryAndMovePosition(parser, pos, end, "", allo_multi_stements, max_length, settings.max_parser_depth)
        if (is_interactive)
        {
            std::cout << st
            formatAST(*res, std::cout)
            std::cout << st << st
        
        return res