JSON type provider

84 views
Skip to first unread message

Mauricio Scheffer

unread,
Mar 19, 2012, 6:51:55 PM3/19/12
to fsh...@googlegroups.com
After merging TypeProviders into master (  https://github.com/fsharp/fsharpx/pull/45  ), the JSON type provider broke for some reason, but I can't for the life of me figure out what's wrong.
Can anyone please take a look?

Cheers,
Mauricio

Steffen Forkmann

unread,
Mar 20, 2012, 4:00:25 AM3/20/12
to fsh...@googlegroups.com
I'll take a look

2012/3/19 Mauricio Scheffer <mauricio...@gmail.com>

Steffen Forkmann

unread,
Mar 20, 2012, 4:15:32 AM3/20/12
to fsh...@googlegroups.com
Ok, the problem is the incompatible FSharp.Core.dll (4.5 vs. the custom lib in FSharpx.Core)
At the moment we can't depent on FSharpx.Core in FSharpx.TypeProviders. Which is very unfortunate.
I had the same issue witth FSharpx.Http (where I replaced the FSharp.Core.dll)
That's one of the reason why I kept the stuff in the TypeProviders branch. I don't really know how to solve this.

I disabled the JSON provider for the moment, since I want to rebuild it from the XML provider.
I'll try to fix later today.

We need ideas how to structure the projects in order to make it build.

Ryan Riley

unread,
Mar 21, 2012, 9:23:09 AM3/21/12
to fsh...@googlegroups.com
On Tuesday, March 20, 2012 1:15:32 AM UTC-7, forki23 wrote:
We need ideas how to structure the projects in order to make it build.

I just started a new thread to discuss this. https://groups.google.com/forum/#!topic/fsharpx/_PcAEpH-cFQ

Ryan

Mauricio Scheffer

unread,
Mar 21, 2012, 9:45:43 AM3/21/12
to fsh...@googlegroups.com
What's the incompatible FSharp.Core.dll? As far as I know we're using the standard ones.

--
Mauricio

Ryan Riley

unread,
Mar 21, 2012, 9:50:55 AM3/21/12
to fsh...@googlegroups.com
On Wednesday, March 21, 2012 6:45:43 AM UTC-7, Mauricio Scheffer wrote:
What's the incompatible FSharp.Core.dll? As far as I know we're using the standard ones.

I think he means that we are using a bin-deployed assembly rather than the GAC'd assembly.

Ryan Riley

unread,
Mar 21, 2012, 9:51:23 AM3/21/12
to fsh...@googlegroups.com
On Wednesday, March 21, 2012 6:45:43 AM UTC-7, Mauricio Scheffer wrote:
What's the incompatible FSharp.Core.dll? As far as I know we're using the standard ones.

You said you added the 4.5 assemblies now? 

Mauricio Scheffer

unread,
Mar 21, 2012, 9:52:04 AM3/21/12
to fsh...@googlegroups.com

Ryan Riley

unread,
Mar 21, 2012, 10:05:18 AM3/21/12
to fsh...@googlegroups.com
By the way, great work on getting this working. I was really surprised when Tomas showed his XmlProvider since Don seemed so sure that this wouldn't work for JSON or XML. This gives me great hope for my HTTP provider, as soon as I can get to it. I'm still working out the parser. Just to verify, a parser is still needed, right?

Steffen Forkmann

unread,
Mar 21, 2012, 10:35:32 AM3/21/12
to fsh...@googlegroups.com
The new JSON provider is nearly ready. But in my local repo. Will push tomorrow

Tuomas Hietanen

unread,
Jun 12, 2012, 9:49:32 AM6/12/12
to fsh...@googlegroups.com
 
I contacted Ayende Rahien if I could make a type provider for a no-SQL database (RavenDB). Raven uses much like JSON data structures inside but I don't know how much they are visible to outside.
 
The gain would be just to know what you have in your DB without your client software. Maybe for some kind of data analysis...
 
He didn't quite follow so I assume while this could be possible, it won't be a 3 hours of work.
 
--
- Tuomas
Reply all
Reply to author
Forward
0 new messages