You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2018/12/23 21:51:51 UTC

[Bug 63035] New: JSON : Switch from

https://bz.apache.org/bugzilla/show_bug.cgi?id=63035

            Bug ID: 63035
           Summary: JSON : Switch from
           Product: JMeter
           Version: 5.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com
  Target Milestone: JMETER_5.1

JSON Smart default JSON provider of json-path is no more maintained.

We should switch to Jackson as underlying implementation:

Configuration.setDefaults(new Configuration.Defaults() {

    private final JsonProvider jsonProvider = new JacksonJsonProvider();
    private final MappingProvider mappingProvider = new
JacksonMappingProvider();

    @Override
    public JsonProvider jsonProvider() {
        return jsonProvider;
    }

    @Override
    public MappingProvider mappingProvider() {
        return mappingProvider;
    }

    @Override
    public Set<Option> options() {
        return EnumSet.noneOf(Option.class);
    }
});


Reference docs:
- https://github.com/FasterXML/jackson
-
https://github.com/json-path/JsonPath/blob/master/json-path/src/main/java/com/jayway/jsonpath/spi/json/JacksonJsonNodeJsonProvider.java
-
https://github.com/json-path/JsonPath/blob/master/json-path/src/main/java/com/jayway/jsonpath/spi/json/JacksonJsonProvider.java

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 63035] JSON : Switch from

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63035

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
   Target Milestone|JMETER_5.1                  |---

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 63035] JSON : Switch from JsonSmartJsonProvider to JacksonJsonProvider

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63035

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|JSON : Switch from          |JSON : Switch from
                   |                            |JsonSmartJsonProvider to
                   |                            |JacksonJsonProvider

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
See also:

- https://github.com/json-path/JsonPath/issues/513

-- 
You are receiving this mail because:
You are the assignee for the bug.