Changseok Han

Results 16 comments of Changseok Han

`delete` function do not delete key but replace with null. ```rust let mut selector_mut = SelectorMut::default(); let ret: Value = selector_mut .value(json!({ "a": { "b": 1, "c": 2 } }))...

default operation do not delete key. because i prefer to null value instead of missing key. if you prefer to key deletion, need to optional parameter and conditional implementation. eg...

@oshadmi I agree with the "ietf-wg-jsonpath" specification. What do you think?

I haven't thought about how to implement it, but how about an approach of turning additional features on and off with a setting?

@martinohmann The next release is being delayed. I will do a minor release first as soon as possible. Thanks for reporting the issue.

I have a question. What do you mean by custom struct?

I didn't understand exactly. Can I understand as below? ```rust let v = TestStruct { ... }; let result = jsonpath::select(&v, "$.name").unwrap(); ```

That's a good idea. Thanks in advance for the PR. 👍

I'm sorry. The reply was late. This library prioritizes filtering JSON documents by `jsonpath` rather than providing `jsonpath` parser. So, the code related to the parser has not been public...

@EliSnow jsonpath-rs 0.2.4 has been unpublished. The jsonpath-rs module has been removed from this repository and will be managed by another repository.