Giter Site home page Giter Site logo

Comments (3)

marcusolsson avatar marcusolsson commented on July 29, 2024

Could you provide a JSON payload, and the corresponding queries that demonstrate the behavior so I can debug it?

from grafana-json-datasource.

jinxiao avatar jinxiao commented on July 29, 2024
{
	"items": [{
		"product_name": "全场通用100优惠券",
		"sku_code": "KUI90909023",
		"sku_stock": 0
	}, {
		"product_name": "【3色可选】郎朗推荐的TheONE智能电子琴Light,0基础5分钟也能上手,3天学会弹钢琴,已教会25万人弹琴",
		"sku_code": "FZH2018082121",
		"sku_stock": 136
	}, {
		"product_name": "加绒高领打底衫女秋冬长袖t恤内搭紧身上衣纯色百搭加厚保暖小衫",
		"sku_code": "FHP201712071058",
		"sku_stock": 4
	}]
}

this is my json payload , i tried to query $.items[].product_name , $.items[].sku_code and $.items[*].sku_stock

at the beginning , i tried to query these items, it showed fields have different error, however , i changed the order , put $.items[*].sku_stock to the first , it turned out to be ok. thanks

from grafana-json-datasource.

marcusolsson avatar marcusolsson commented on July 29, 2024

I tried the data and query you listed, and looks like it's working for me. It sounds like you got it working though, so I'm closing this issue for now. Feel free to reopen if you encounter it again.

Screen Shot 2020-12-03 at 16 14 01

from grafana-json-datasource.

Related Issues (20)

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.