Comments (6)
I think the best way is tell TOP this issue and let them return a new property is_str like weibo API does.
from top.
Makes sense to me. Will open a ticket there. Don't know if will change though :-). Thanks for the great package.
from top.
Can you upload a json result for this issue, I want to wrap this issue
before TOP accept the solution.
在 2013-10-5 AM9:58,"lukewarm" [email protected]写道:
Makes sense to me. Will open a ticket there. Don't know if will change
though :-). Thanks for the great package.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-25740078
.
from top.
Not sure if I understand what's needed. Let me know if this is not helpful. Sorry, I'm new to to JavaScript.
This is the parsed results. The id property is the integer that's too long and rounded down.
{
tmc_messages_consume_response: {
messages: {
tmc_message: [
{user_id: 123456789,
user_nick: 'usernick',
content: '{"nick":"usernick","increment":1,"num":502,"changed_fields":"num","num_iid":15380658823}',
id: 7104300007405429000,
pub_time: '2013-10-05 10:55:58',
pub_app_key: '12499723',
topic: 'taobao_item_ItemStockChanged' }
]
}
}
}
JSON string
{"tmc_messages_consume_response":{"messages":{"tmc_message":[{"user_id":123456789,"user_nick":"usernick","content":"{\\"nick\\":\\"usernick\\",\\"increment\\":1,\\"num\\":502,\\"changed_fields\\":\\"num\\",\\"num_iid\\":15380658823}","id":7104300007405429232,"pub_time":"2013-10-05 10:55:58","pub_app_key":"12499723","topic":"taobao_item_ItemStockChanged"}]}}}
from top.
@lukewarm I fix this on [email protected] , change Long Number id property to String id.
from top.
Awesome man! Will post any updates here when TOP responds to the request of a string id.
from top.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from top.