json-path/src/main/java/io/restassured/path/json/config/JsonPathConfig.java
public JsonPathConfig numberReturnType(NumberReturnType numberReturnType) {
        return new JsonPathConfig(numberReturnType, defaultParserType, gsonObjectMapperFactory,
                jackson1ObjectMapperFactory, jackson2ObjectMapperFactory, 
                    johnzonObjectMapperFactory, defaultDeserializer, charset);
    }
public JsonPathConfig numberReturnType(NumberReturnType numberReturnType) {
        return new JsonPathConfig(numberReturnType, defaultParserType, gsonObjectMapperFactory,
                jackson1ObjectMapperFactory, jackson2ObjectMapperFactory, 
                    johnzonObjectMapperFactory, defaultDeserializer, charset);
    }
Specifies if JsonPath should use floats and doubles or BigDecimals to represent Json numbers.

@param numberReturnType The choice.
@return A new instance of JsonPathConfig with the given configuration