Thread overview | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 25, 2016 The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Hi! I think that there are a few years since, the phobos support for XML and JSON were kind of drooped. The xml library it's deprecated and I am not sure if I should use it... I guess not... I guess there is nobody working for a replacement. Related to Json... I guess that I am not the only one that thinks that the interface of that library it's quite bad... and when I also want to use Json, I use the vibe.d structures... I like what it's done there, but I think it's sad that I have to include vibe.d just to have a Json serialiser. Does anyone know what it's the status of these libraries? Thanks, Bogdan |
September 25, 2016 Re: The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Szabo Bogdan | On Sunday, 25 September 2016 at 08:19:22 UTC, Szabo Bogdan wrote: > Hi! > > I think that there are a few years since, the phobos support for XML and JSON were kind of drooped. The xml library it's deprecated and I am not sure if I should use it... I guess not... I guess there is nobody working for a replacement. > > Related to Json... I guess that I am not the only one that thinks that the interface of that library it's quite bad... and when I also want to use Json, I use the vibe.d structures... I like what it's done there, but I think it's sad that I have to include vibe.d just to have a Json serialiser. > > Does anyone know what it's the status of these libraries? > > Thanks, > Bogdan https://github.com/tamediadigital/asdf and https://github.com/tamediadigital/je may be really useful for production. |
September 25, 2016 Re: The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Szabo Bogdan | On Sunday, 25 September 2016 at 08:19:22 UTC, Szabo Bogdan wrote: > Hi! > > I think that there are a few years since, the phobos support for XML and JSON were kind of drooped. The xml library it's deprecated and I am not sure if I should use it... I guess not... I guess there is nobody working for a replacement. Wrong. Someone worked on a replacement this summer, in the context of the gsoc: https://github.com/dlang/phobos/pull/4741 |
September 25, 2016 Re: The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Sunday, 25 September 2016 at 08:26:58 UTC, Basile B. wrote:
> On Sunday, 25 September 2016 at 08:19:22 UTC, Szabo Bogdan wrote:
>> Hi!
>>
>> I think that there are a few years since, the phobos support for XML and JSON were kind of drooped. The xml library it's deprecated and I am not sure if I should use it... I guess not... I guess there is nobody working for a replacement.
>
> Wrong. Someone worked on a replacement this summer, in the context of the gsoc:
>
> https://github.com/dlang/phobos/pull/4741
And, FYI, there's a guest post about the GSoC project in the D Blog queue.
|
September 25, 2016 Re: The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Sunday, 25 September 2016 at 08:26:58 UTC, Basile B. wrote:
> On Sunday, 25 September 2016 at 08:19:22 UTC, Szabo Bogdan wrote:
>> Hi!
>>
>> I think that there are a few years since, the phobos support for XML and JSON were kind of drooped. The xml library it's deprecated and I am not sure if I should use it... I guess not... I guess there is nobody working for a replacement.
>
> Wrong. Someone worked on a replacement this summer, in the context of the gsoc:
>
> https://github.com/dlang/phobos/pull/4741
And... It's almost ready. I just have to find some time to finish up some bits and add more documentation.
|
September 26, 2016 Re: The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lodovico Giaretta | On Sunday, 25 September 2016 at 09:12:03 UTC, Lodovico Giaretta wrote: > On Sunday, 25 September 2016 at 08:26:58 UTC, Basile B. wrote: > > And... It's almost ready. I just have to find some time to finish up some bits and add more documentation. When will this happen (roughly)? I'm looking forward to it because I need proper SSML support[1], which is XML really. [1] https://en.wikipedia.org/wiki/Speech_Synthesis_Markup_Language |
September 28, 2016 Re: The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chris | On Monday, 26 September 2016 at 09:29:55 UTC, Chris wrote:
> On Sunday, 25 September 2016 at 09:12:03 UTC, Lodovico Giaretta wrote:
>> On Sunday, 25 September 2016 at 08:26:58 UTC, Basile B. wrote:
>>
>> And... It's almost ready. I just have to find some time to finish up some bits and add more documentation.
>
> When will this happen (roughly)? I'm looking forward to it because I need proper SSML support[1], which is XML really.
>
> [1] https://en.wikipedia.org/wiki/Speech_Synthesis_Markup_Language
Sorry for the late reply. I'm trying to find some time to finish it. If I manage to find it soon, I may finish in a couple of weeks. In the worst case scenario, I may finish it before Christmas.
I know this may not be good news, but since the start of September I'm really having a hard time trying to find some free time.
|
September 28, 2016 Re: The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lodovico Giaretta | On Sunday, 25 September 2016 at 09:12:03 UTC, Lodovico Giaretta wrote:
> On Sunday, 25 September 2016 at 08:26:58 UTC, Basile B. wrote:
>> On Sunday, 25 September 2016 at 08:19:22 UTC, Szabo Bogdan wrote:
>>> Hi!
>>>
>>> I think that there are a few years since, the phobos support for XML and JSON were kind of drooped. The xml library it's deprecated and I am not sure if I should use it... I guess not... I guess there is nobody working for a replacement.
>>
>> Wrong. Someone worked on a replacement this summer, in the context of the gsoc:
>>
>> https://github.com/dlang/phobos/pull/4741
>
> And... It's almost ready. I just have to find some time to finish up some bits and add more documentation.
Awesome!
I guess the interface of the `std.experimental.xml` package will not change too soon... and I guess that I can assume that I can try to use it in my projects...
How about Json... there is something that is stopping the D community to move the `vibe.data.json` to `phobos`?
|
September 28, 2016 Re: The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Szabo Bogdan | On Wednesday, 28 September 2016 at 21:40:12 UTC, Szabo Bogdan wrote: > Awesome! > > I guess the interface of the `std.experimental.xml` package will not change too soon... and I guess that I can assume that I can try to use it in my projects... Definitely give it a try and if you have something to say about it, say it! I need some usage reports to understand if the design works well, and what are the limitations, because XML is used in many different contexts with many different needs and it's difficult to get a complete idea without many users. > How about Json... there is something that is stopping the D community to move the `vibe.data.json` to `phobos`? It has already been proposed [1]. I cannot find the discussion thread currently. [1] https://code.dlang.org/packages/std_data_json |
September 29, 2016 Re: The XML and JSON library | ||||
---|---|---|---|---|
| ||||
Posted in reply to Szabo Bogdan | On Wednesday, 28 September 2016 at 21:40:12 UTC, Szabo Bogdan wrote:
> On Sunday, 25 September 2016 at 09:12:03 UTC, Lodovico Giaretta wrote:
>> On Sunday, 25 September 2016 at 08:26:58 UTC, Basile B. wrote:
>>> On Sunday, 25 September 2016 at 08:19:22 UTC, Szabo Bogdan wrote:
>>>> [...]
>>>
>>> Wrong. Someone worked on a replacement this summer, in the context of the gsoc:
>>>
>>> https://github.com/dlang/phobos/pull/4741
>>
>> And... It's almost ready. I just have to find some time to finish up some bits and add more documentation.
>
> Awesome!
>
> I guess the interface of the `std.experimental.xml` package will not change too soon... and I guess that I can assume that I can try to use it in my projects...
>
> How about Json... there is something that is stopping the D community to move the `vibe.data.json` to `phobos`?
Yeah, I was thinking of using it anyway, because it won't change substantially, if it's only about the docs now (more or less).
|
Copyright © 1999-2021 by the D Language Foundation