takenet / lime-csharp Goto Github PK
View Code? Open in Web Editor NEWC# LIME protocol implementation
License: Apache License 2.0
C# LIME protocol implementation
License: Apache License 2.0
Hi, I'm having trouble with the Message
deserialization, this valid Message
works fine:
{
"id": "1",
"to": "[email protected]",
"type": "application/vnd.lime.media-link+json",
"content": {
"type": "image/jpeg",
"uri": "http://2.bp.blogspot.com/-pATX0YgNSFs/VP-82AQKcuI/AAAAAAAALSU/Vet9e7Qsjjw/s1600/Cat-hd-wallpapers.jpg"
}
}
But if I change the order of the properties, putting content
as the first one (which still a Valid payload), the Message
class
only gets the value of the content
and type
leaving all other properties, such as from
and id
, with null
values.
{
"content": {
"type": "image/jpeg",
"uri": "http://2.bp.blogspot.com/-pATX0YgNSFs/VP-82AQKcuI/AAAAAAAALSU/Vet9e7Qsjjw/s1600/Cat-hd-wallpapers.jpg"
},
"id": "1",
"to": "[email protected]",
"type": "application/vnd.lime.media-link+json"
}
For example, I have this endpoint:
With the first payload I get all values right:
This is how I add the Converters
and EnvelopeSerializer
to my project:
Lime version used: 0.8.111-beta
Blip client version: 0.5.285
Do you guys have any documentation to people that want to start reading the code? I mean, there any so many different projects that I have no ideia where to start.
I'm quite new to programming protocols but I'm really interested in Lime due to its apparent simplicity.
I would like to understand its architecture, future ideas and maybe get some tasks (just for fun).
Thanks. :)
On last version of protocol if you try use "!=" Node operator to compare a object with null your application will broken.
StackTrace:
System.MissingMethodException: Method not found: 'Boolean Lime.Protocol.Node.op_Inequality(Lime.Protocol.Node, Lime.Protocol.Node)'
For more details: https://opentelemetry.io/docs/instrumentation/net/
HTTP transport and any other protocol already have their own instrumentations for distributed tracing.
We should add the same for Lime to make it observable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.