This implements the Display and Serialize traits for the JsonPath type. Although there may be a more efficient way to serialize it than using collect_str, my assumption for now is that JSON Path query strings are not too long and this will not be too costly to rely on the Display impl to allocate a string before writing out to the serializer.
This implements the Display and Serialize traits for the JsonPath type. Although there may be a more efficient way to serialize it than using collect_str, my assumption for now is that JSON Path query strings are not too long and this will not be too costly to rely on the Display impl to allocate a string before writing out to the serializer.
Related to #23