Do they belong to you? Claim these comments.
Unregistered
aliases
- Andrej
- Andrej
- andrejk
- Andrej Koelewijn
- Andrej
- Andrej
Andrej
Is this you? Claim Profile »
5 months ago
in Testing REST Services with Groovy on James Lorenzen's Blog
Seems the groovyx.net....json class uses a different form of json than grails itself. The json interpreter used by the test doesn't accept the json generated by my grails controller. I get the following error:
Unquotted string 'new Date(1200092400000)'
net.sf.json.JSONException: Unquotted string 'new Date(1200092400000)'
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:445)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:1128)
at net.sf.json.JSONObject._fromString(JSONObject.java:1317)
at net.sf.json.JSONObject.fromObject(JSONObject.java:185)
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:139)
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103)
at net.sf.json.groovy.JsonSlurper.parseText(JsonSlurper.java:78)
at groovyx.net.http.ParserRegistry.parseJSON(ParserRegistry.java:185)
Here's the json generated by the controller:
{"id":18,"class":"Kandidaat","aanbiedingenPerPost":false,"achternaam":"Willemsen","dossierNummer":"10","etage":"3","huisletter":"a","huisnummer":"12","inschrijfDatum":new Date(1200092400000),"kamerbehoefte":"4","postcode":"1234 ab","reacties":[],"redenAfvoer":null,"soort":"Geindiceerde","straatnaam":"Nieuwe stationsstraat","voorletters":"AB","voorvoegsel":"","woningNetNummer":"10","woonplaats":"Amsterdam"}
Any idea how to fix this?
Unquotted string 'new Date(1200092400000)'
net.sf.json.JSONException: Unquotted string 'new Date(1200092400000)'
at net.sf.json.util.JSONTokener.nextValue(JSONTokener.java:445)
at net.sf.json.JSONObject._fromJSONTokener(JSONObject.java:1128)
at net.sf.json.JSONObject._fromString(JSONObject.java:1317)
at net.sf.json.JSONObject.fromObject(JSONObject.java:185)
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:139)
at net.sf.json.JSONSerializer.toJSON(JSONSerializer.java:103)
at net.sf.json.groovy.JsonSlurper.parseText(JsonSlurper.java:78)
at groovyx.net.http.ParserRegistry.parseJSON(ParserRegistry.java:185)
Here's the json generated by the controller:
{"id":18,"class":"Kandidaat","aanbiedingenPerPost":false,"achternaam":"Willemsen","dossierNummer":"10","etage":"3","huisletter":"a","huisnummer":"12","inschrijfDatum":new Date(1200092400000),"kamerbehoefte":"4","postcode":"1234 ab","reacties":[],"redenAfvoer":null,"soort":"Geindiceerde","straatnaam":"Nieuwe stationsstraat","voorletters":"AB","voorvoegsel":"","woningNetNummer":"10","woonplaats":"Amsterdam"}
Any idea how to fix this?
8 months ago
in As Goes the Economy, So Goes Open Source? on Oracle AppsLab
My take: Most open source is not created by free labor. More here: http://www.andrejkoelewijn.com/wp/2008/10/23/op...
1 reply
1 year ago
in De staat van Enterprise 2.0 in Nederland? Heliview heeft het antwoord on Martin Kloos
Leuk te lezen dat je mijn verhaal een van de hoogtepunten van de dag vindt. Ik heb mijn presentatie ook op de IT-eye weblog geplaatst: De echte betekenis van Web 2.0 voor uw Business.
1 year ago
in Air is in my future on Scobleizer
It's just a slower (cpu and hdd), memory limited (only 2gb) macbook. Nothing too exiting. Macbook isn't that large that you really need it that thin and light. And it still doesn't have enough screen real-estate. They could put a lot more pixels on a 13inch screen.
1 year ago
in RussellBeattie.com - Go Obama! on Russell Beattie's Blog Forum
For those that are still undecided or who want to validate their choice here are some websites that can help you determine who you should vote for: http://beheer.stemwijzer.nl/USA2008/en/, http://www.kieskompas-usa.nl/.
1 year ago
in Twitter reactions to Apple’s OS update on Scobleizer
I have to agree here with scoble, something weird is going on.
If vista fails, usually other people react like: sure vista sucks, everybody knows. Or, microsoft is a bad company, or something similar.
If osx fails you get one of the following reactions from other users:
* don't blame apple, vista also has failures
* it's your fault, you're not doing it right
* it's not a problem, if you tell us what's wrong, we'll help you
* it's ok for an upgrade to fails, everybody knows you have to reinstall
* don't complain, because for most people it works (is this any different from vista/xp?)
Why not admit it: apple makes mistakes, just like microsoft. It's almost like steve jobs is the next saviour, and if you say anything bad about him or apple, it's blasphemy.
If vista fails, usually other people react like: sure vista sucks, everybody knows. Or, microsoft is a bad company, or something similar.
If osx fails you get one of the following reactions from other users:
* don't blame apple, vista also has failures
* it's your fault, you're not doing it right
* it's not a problem, if you tell us what's wrong, we'll help you
* it's ok for an upgrade to fails, everybody knows you have to reinstall
* don't complain, because for most people it works (is this any different from vista/xp?)
Why not admit it: apple makes mistakes, just like microsoft. It's almost like steve jobs is the next saviour, and if you say anything bad about him or apple, it's blasphemy.
1 year ago
in Why does Apple get a free ride? on Mathew's comments
What difference? One is enabling people to use content they've legitimately bought under any circumstance they choose, the other is enabling people to use hardware they've legitimately bought under any circumstance they choose...
2 years ago
in What tech couldn't you live without? on Scobleizer
The thing i can't live without on the net: http://www.windguru.cz/
5 years ago
in WordPress Plugin - Textile 2.0 on Huddled Masses
I've activated the textile 2.0 plugin, and it works, but not for feeds (atom/rss). How do i enable it for feeds?
I read somewhere that a large percentage of Open Source now comes from big companies like Sun who support large projects like MySQL, VirtualBox, etc.
Most of those developers would keep committing, even if they left, and many have.
Not to mention that Web 2.0 and Open Source aren't equivalent and never will be. Lots of issues with Keen's post.