# JsonPathParseError
<span class="source-link">[[Source]](src/json/json_path.md#L-0-93)</span>

Structured parse error for JSONPath expressions.

```pony
class val JsonPathParseError is
  Stringable box
```

#### Implements

* [Stringable](builtin-Stringable.md) box

---

## Constructors

### create
<span class="source-link">[[Source]](src/json/json_path.md#L-0-99)</span>


```pony
new val create(
  message': String val,
  offset': USize val)
: JsonPathParseError val^
```
#### Parameters

*   message': [String](builtin-String.md) val
*   offset': [USize](builtin-USize.md) val

#### Returns

* [JsonPathParseError](json-JsonPathParseError.md) val^

---

## Public fields

### let message: [String](builtin-String.md) val
<span class="source-link">[[Source]](src/json/json_path.md#L-0-96)</span>



---

### let offset: [USize](builtin-USize.md) val
<span class="source-link">[[Source]](src/json/json_path.md#L-0-97)</span>



---

## Public Functions

### string
<span class="source-link">[[Source]](src/json/json_path.md#L-0-103)</span>


```pony
fun box string()
: String iso^
```

#### Returns

* [String](builtin-String.md) iso^

---

