need a little help with linq to json

Oct 11, 2011 at 6:15 PM

            Dim results As JObject
 
            results =
                New JObject(
                    New JProperty("results",
                        New JObject(
                            New JProperty("query", Query),
                            New JProperty("suggestions",
                              New JArray(
                                From p In db.ParticipantSearches
                                Where p.Search.Contains(Query)
                                Order By p.LASTNAME
                                Select New JObject(
                                    New JProperty("Code", p.CODE),
                                    New JProperty("names", p.Names),
                                    New JProperty("Address", p.ADDRESS),
                                    New JProperty("Address2", p.ADDRESS2),
                                    New JProperty("City", p.CITY,
                                    New JProperty("Country", p.COUNTRY))))))))
I get: Can not add Newtonsoft.Json.Linq.JProperty to Newtonsoft.Json.Linq.JArray.
Any Ideas are welcome!!