Error with Json library
I have a PrestaShop website to allow my important customers to simplify their hardware orders.
I am therefore in the process of developing a webservice to interface the two systems, the exchange of data being done in Json format.
The first feasibility tests were done in version 7.18.5 of Creatio with libraries
We have now moved to a new phase on a Creatio 8.0.5 and the USING of these libraries now cause problems when compiling...
Have you encountered this anomaly before?
Do you have examples of Json deserialization code with other libraries?
Thank you in advance for your help.
We have checked the information with our R&D team and it is as follows:
Both of these should work with no problem with the new versions of Creatio, but
Needs some adjustments from your side, since you have an on-site system.
The adjustments are as follows:
Within the file \Terrasoft.WebApp\Terrasoft.Configuration\Terrasoft.Configuration.Dev.csproj
Within this section: <ItemGroup Label=".NET references">
You should add this reference <Reference Include="System.Web.Extensions" />
And correctly use the beforementioned libraries (Newtonsoft.Json; Newtonsoft.Json.Linq;) in C# schemas
Hello Mykhailo Zeleniuk,
Right now, my code is very simple (see screenshot), so I'm bothered by the compilation error...
Especially since the same code worked in version 7.18.5.
Someone would have examples of Json deserialization code with other libraries than Newtonsoft ?