We receive JSON data from Facebook Real Time subscription. The JSON itself contains property like \"object\":\"page\" and we need to access this property.
{
\
Use @object
:
dynamic result = JsonConvert.DeserializeObject(jsonRealTimeNotification);
string objectType = result.@object.ToString();
This is the same syntax as is used when specifying a regular verbatim identifier. From the C# Language Specification, § 2.4.2 Identifiers (C#):
The prefix "@" enables the use of keywords as identifiers, which is useful when interfacing with other programming languages. The character @ is not actually part of the identifier, so the identifier might be seen in other languages as a normal identifier, without the prefix. An identifier with an @ prefix is called a verbatim identifier.
Sample fiddle.