Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atributos JSON y path #99

Open
alasarr opened this issue Nov 2, 2016 · 0 comments
Open

Atributos JSON y path #99

alasarr opened this issue Nov 2, 2016 · 0 comments
Assignees

Comments

@alasarr
Copy link

alasarr commented Nov 2, 2016

IMPORTANTE: Antes de abordar esta tarea habla con Sergio para ver si podemos simplificar el modelo para nuestra simulación. Lo mismo podemos modificar el modelo de datos para que sea campo: valor como en otros verticales.

Si no nos lo aceptan iremos a esto:

Cuando recibimos un valor JSON como este nos interesa solo el value.

"noisePressure": {
    "value": {
      "value": 15,
      "unitCode": "dbA"
    },
    "type": "ExtQuantitativeValue"
  },

Hagamos en el conector un nuevo tipo de dato que lo que te permita es pasar un path y nos quedamos con lo que tenga ese path. Algo como esto:

type: geoson-path-integer
path: 'value.value'
@alasarr alasarr added this to the Sprint 20 milestone Nov 2, 2016
@alasarr alasarr removed this from the Sprint 20 milestone Nov 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants