Giter Site home page Giter Site logo

datajack's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datajack's Issues

Make references relative current collection

Let assume we have a structure:

  1. /data/users.json with relation to /roles.json
  2. /roles.json with relation to /assets.json

So relations will be:

  1. ../roles.json
  2. ../assets.json

But it isn't logical and should be relative to the current collection:

  1. ../roles.json
  2. assets.json

Производится излишнее преобразование

проверено на версии 5.0.1 и 5.0.2 в составе page-factory 2 13.0.1 и 14.5.0 соответственно.
При чтении данных из json файла производится излишнее преобразование. Из примера 4 в "4", ["Hi!"] в [ \"Hi!\"], как получить такие же данные, как в json файле (без преобразований)?

JsonDataProvider data = new JsonDataProvider(path, "SendTextBody");
String body = data.get("correctRequest").getValue();

файл SendTextBody.json
{
"correctRequest": {
"conversation_id": 4,
"text": "",
"render_type": "HTML",
"suggestions": ["Hi!"]
}
}

результат в body:
{
"conversation_id" : "4" ,
"text" : "" ,
"render_type" : "HTML" ,
"suggestions" : "[ \"Hi!\"]"
}

json-provider распознает вложенный массив как стрингу

@kosteman, @clicman нужна ваша помощь
Обращение к ключу X-User у Json следующего типа:
{ "X-User": { "systemId": "QJ160", "customerIds": [ { "id": "93V", "branch": "Cu19" } ] } }
Приводит к возврату такого value:
{ "systemId" : "QJ160" , "customerIds" : "[ { \"id\" : \"93V\" , \"branch\" : \"Cu19\"}]"}
Вместо ожидаемого:
{ "systemId" : "QJ160" , "customerIds" : [ { "id" : "93V" , "branch" : "Cu19"}]}

toMap

Need to add a few methods to access inner Map representation of TestDataObject

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.