Comments (10)
Is it about mapping? Can you give more details please ?
from jest.
I use this project interact with ElasticSearch ,ES default support date
format is ISO type,like this ""time":"2013-06-15T16:52:34""
But GSON default convert Date to another type.so ES recongize my date to a
string.
2013/6/18 Ferhat Sobay [email protected]
Is it about mapping? Can you give more details please ?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-19572092
.
from jest.
lxbzmy, Have you checked this out: http://stackoverflow.com/questions/7910734/gsonbuilder-setdateformat-for-2011-10-26t202959-0700 ?
from jest.
sure£¬I googled that tip. But I also check u source code, I found I source u
write
new GSON().toJSNO();
I have no way to setup gson as u only create it yourself.
2013/6/18 Cihat Keser [email protected]
lxbzmy, Have you checked this out:
http://stackoverflow.com/questions/7910734/gsonbuilder-setdateformat-for-2011-10-26t202959-0700?¡ª
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-19593635
.
from jest.
ah ok then, that's why ferhat asked bout your use case :)
i agree that gson instance should be configurable by user. maybe i can have a look into it if ferhat agrees too.
btw, this issue only comes up during java-to-json conversions, right? it'd be great if you could provide some test cases...
from jest.
Be my guest kramer :)
from jest.
Ah. u r right. I check u source code and found extra code for String
detect. so I only use jackson mapper to string and pass it to jest.
2013/6/18 Cihat Keser [email protected]
ah ok then, that's why ferhat asked bout your use case :)
i agree that gson instance should be configurable by user. maybe i can
have a look into it if ferhat agrees too.btw, this issue only comes up during java-to-json conversions, right? it'd
be great if you could provide some test cases...—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-19594702
.
from jest.
I suspect this issue will still come up with action classes that doesn't
take string as source parameter, need further investigation.
18 Haz 2013 10:34 tarihinde "lxbzmy" [email protected] yazdı:
Ah. u r right. I check u source code and found extra code for String
detect. so I only use jackson mapper to string and pass it to jest.2013/6/18 Cihat Keser [email protected]
ah ok then, that's why ferhat asked bout your use case :)
i agree that gson instance should be configurable by user. maybe i can
have a look into it if ferhat agrees too.btw, this issue only comes up during java-to-json conversions, right?
it'd
be great if you could provide some test cases...—
Reply to this email directly or view it on GitHub<
https://github.com/searchbox-io/Jest/issues/44#issuecomment-19594702>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-19595429
.
from jest.
Can we close this ?
from jest.
ok.
2013/6/25 Ferhat Sobay [email protected]
Can we close this ?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/44#issuecomment-19978176
.
from jest.
Related Issues (20)
- Invalid type conversion Integer -> Double
- Why do not working the index pattern in search request
- Path to hits/total needs to be updated for ESV7 HOT 2
- update by query
- Documentation for Kerberos Authentication
- Geo distance which api can support
- Delete child documents without parent
- Node Discovery Frequency Only send to one node.
- Search query logging
- Support for alias is_write_index
- release of version 6.8.10
- How to exit main thread when executeAsync method execute completed? HOT 1
- Refactor Search to be Generic
- update gson version to latest 2.8.6?
- 在处理jejstId注解时, 注解属性存在父类无法识别
- How to add parameters on '/_search' method like this '/_search?preference=zxcvzxd123'
- io.searchbox.client.http.JestHttpClient#deserializeResponse cause oom exception
- CatResult.parseResultArray throws java.lang.UnsupportedOperationException: JsonNull
- a problem wen upgrading to ES 7
- Is this project dead? HOT 1
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 jest.