DataContractJsonSerializer class is declared under System.Runtime.Serialization assembly. Even when the assembly is already added to project reference, it’s still complaining about missing assembly.

It’s actually included in System.Servicemodel.Web assembly. Include it to your Windows Phone project reference will solve the error.