Questions tagged [jil]

JIL - A fast JSON (de)serializer, built on Sigil with a number of somewhat crazy optimization tricks.

JIL

A fast JSON (de)serializer, built on Sigil with a number of somewhat crazy optimization tricks.

64 questions
1
vote
1 answer

Ignore a property from being serialized when trying to serialize an object to Json using JIL (like [JsonIgnore] in newtonsoft)

I've recently changed my Json serialization/deserialization logic from Newtonsoft to JIL,it(Jil) works with better performance than newtonsoft (as expected) but I have one major problem with it My model objects are usually big objects with lots of…
Code_Worm
  • 4,069
  • 2
  • 30
  • 35
1
vote
0 answers

Json Deserialize by Jil throw Exception

i have this piece of code: //JSON is in Jil library var a = JSON.Deserialize(@"{""PhoneNumber"": ""09214523155"",""Password"": ""1928160"",""Token"": ""string"",""SubSystem"": ""string"",""Version"": 0,""DeviceType"": 0} ",…
AliBoronsi
  • 764
  • 1
  • 12
  • 19
1
vote
1 answer

How to create an autosys job that runs on a weekend only at X hours

I need to create an autosys job that run on Saturday and Sunday only at Noon and 11:00 p.m. CST below is the script that I wrote based on what I saw online. I'm new to this , can someone else please check and confirm if there's any other thing that…
Ferdz
  • 13
  • 1
  • 4
1
vote
3 answers

How to export Autosys JIL command?

I am new to autosys and have to export all the JILs to another server. Is there a command to export all the JILs at once instead of exporting them one at a time? Thanks Abhinav
Abhinav Deshpande
  • 569
  • 1
  • 6
  • 5
1
vote
1 answer

Jil Serializer Method may only be called on a Type for which Type.IsGenericParameter is true

I have a custom log message object that I am trying to serialize with Jil to JSON format. This is the first time I have used Jil instead of the default JSON.Net serializer so I am not very familiar with it. One of the properties on the log message…
jkruer01
  • 2,175
  • 4
  • 32
  • 57
1
vote
0 answers

Web api aspnet Json formatter preformance test

Up until now my team used the built in Json.Net Json formatter in web application. Now I want to test different formatters such as Jil or Protobuf to Serialize and Deserialize faster. My question is How do I check Serialization/Deserialization…
user5326354
1
vote
1 answer

Jil serializer as MVC default, don't accept "json" ContentType

Does any one know if Jil can accept ContentType: 'application/json' in the http call to the API? From what I see it can only accept ContentType:x-www-formencoded An example of what don't work for me, the object received in the controller is…
Guy Assaf
  • 888
  • 9
  • 24
0
votes
0 answers

schedule a job everyday, everyhour using jil

I have to schedule a job that have to run every day every hour using jil script? Can I write start_time:"00:00,01:00,02:00,03:00,04:00,05:00,06:00...,22:00,23:00" Is the above format right?
0
votes
0 answers

AUTOSYS JOB DEPENDENCIES ON JOB STATUS ON_HOLD/ON_NOEXECUTION

I have the below job dependency - BOX1 (Job_1,Job_2,Job_3) BOX2 (Job_11,Job_12,Job_13) job_3 should run when s(job_2) OR s(job_22) Only one job should RUN job_2 OR job_22 I put Job_2 ON_HOLD and job_3 condition: s(job_2) OR s(job_22) In this way…
Varun
  • 33
  • 1
  • 8
0
votes
0 answers

Autosys JIL creation failed

When trying to create JIL file for update job command, getting the below error. But, the job is the valid one. Due to the following 1 validation failures, no JIL has been generated. 1) Job_name??????: 1 Use of update job is not valid here…
jai
  • 1
0
votes
0 answers

Variable from Autosys that indicate current run is for which scheduled time

I have a job that run multiple times in a day and I would like to get the info that whether the current run is for which run in that day. E.g. Run schedule: 2,4,6,8 am on Monday If the job starts at 4:00 am (or 5:10 am if there are delay on autosys…
Sherry
  • 3
  • 1
  • 4
0
votes
1 answer

Autosys Client - JIL command execution Error

yst_c_testInbound is an existing job in the box yst_b_test_Inbound_U01. Changing DNS alias name from old DNS name "str-uat.capint.com" to new DNS name "str-r7uat.capint.com" set AUTOSERV & set SERVER1 & set SERVER2 being set properly. Job is…
0
votes
0 answers

Curl to invoke REST web service in Autosys

I would like to invoke the REST web service via CURL in Autosys. Can someone post a sample/basic JIL file or JIL commands to do that? I know I can invoke the batch script that does it, but I am wondering if I can call the CURL command directly from…
user1385969
  • 195
  • 2
  • 2
  • 11
0
votes
1 answer

How to convert java timestamp time format to C# DateTime time format in JSON (C# Jil and Java gson)

I have a C# and java code that serializes an object into a JSON string to send between clients and the server. In C# I use Jil to serialize and deserialize objects. In java I use gson. Everything works fine until I work with C# DateTime object and…
Mancitiss
  • 15
  • 2
  • 6
0
votes
1 answer

autosys monthy job for seventh businessdate

I have below requirement for autosys calendar. the autosys job should be triggered only once in a month on every 7th business date (exclude weekends). for example, in the month of May 2021, the job should run on 11 May 2021. In the month of May 2021…
blackhole
  • 214
  • 1
  • 11