Question Sabit Issakhan · Apr 28, 2021 How parse Library.ListOfObjects to JSON Hello! I have a question how to parse Library.ListOfObjects to JSON I send post data like this from client using rest and want parse "templates", after save "codeForm","codeName" in database { "whoIs": "", "templates": [{ "codeForm": "FORM_FIOGROUP", "codeName": "operationDate", "orderNumber": "1", "codeFormat": "YYYY-MM-DD", "header": "DATE", "dbfFormatType": "Date", "dbfFormatLength": "8", "valueFrom": "Payment" }, { "codeForm": "FORM_FIOGROUP", #JSON #Ensemble 0 4 0 555
Question Sabit Issakhan · Nov 26, 2020 Set null Hello! How to set null in variable? I need to create JSON like below: { "id":"1", "Code": null } #JSON #Caché 0 3 0 438
Question Sabit Issakhan · Jun 10, 2020 How to response with 401 unauthorized in REST Hello everyone! I have REST API and want check user with http header authorization, When user input incorrect data refuse them with 401 unauthorized, Question how to response with 401 unauthorized #Access control #REST API #Caché 0 1 0 587
Article Sabit Issakhan · Jun 8, 2020 1m read Convert XML to JSON Hello everyone! I have had problem with XML format in Cache Object Script, it was diffucult to parse XML format, So i decided to convert XML to JSON and parse json easily So for that i wrote code in java which convert xml to json and build package with maven Anyone interested can download jar file and see the instructions at the link: https://github.com/Sabit2092/xmlToJsonCache #Java #JSON #XML #Caché 2 5 0 1.5K
Article Sabit Issakhan · Aug 29, 2019 3m read Convert Cyrillic to Latin Hello everyone! Recently I search how to convert Cyrillic to Latin with Cache Object Script, but didn't find anything and decided to write ourselves, So here code: #Beginner #Code Snippet #ObjectScript #Tips & Tricks #Caché #InterSystems IRIS 2 10 0 890
Question Sabit Issakhan · Oct 29, 2018 Download File With Rest Hello Everyone!Following the example below i can download file only txt format, in other format(pdf,xls,rar) i have errors(can't open file), So, how i will change code for download file in other format? Thanks! #API #Caché #REST API #CSP 0 3 1 1.3K
Question Sabit Issakhan · Aug 27, 2018 Delete Archieve Hello! How to delete archieve file, i'm used ##Class(%File).Delete(fileNamewithPath), but this method doesn't help, Anybody know, how to delete file exactly? #Object Data Model #Caché 0 5 0 330