public Friendship(JsonData friendJson) { if (friendJson == null) return; TargetRelationship = new Relationship(friendJson.GetValue<JsonData>("target")); SourceRelationship = new Relationship(friendJson.GetValue<JsonData>("source")); }