123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913 |
- <?xml version="1.0"?>
- <doc>
- <assembly>
- <name>System.Text.Json</name>
- </assembly>
- <members>
- <member name="P:System.HexConverter.CharToHexLookup">
- <summary>Map from an ASCII char to its hex value, e.g. arr['b'] == 11. 0xFF means it's not a hex digit.</summary>
- </member>
- <member name="T:System.Text.Json.JsonNamingPolicy">
- <summary>
- Determines the naming policy used to convert a string-based name to another format, such as a camel-casing format.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonNamingPolicy.#ctor">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.JsonNamingPolicy"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonNamingPolicy.CamelCase">
- <summary>
- Returns the naming policy for camel-casing.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonNamingPolicy.ConvertName(System.String)">
- <summary>
- When overridden in a derived class, converts the specified name according to the policy.
- </summary>
- <param name="name">The name to convert.</param>
- <returns>The converted name.</returns>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonAttribute">
- <summary>
- The base class of serialization attributes.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonIgnoreCondition">
- <summary>
- When specified on <see cref="P:System.Text.Json.JsonSerializerOptions.DefaultIgnoreCondition"/>,
- determines when properties and fields across the type graph are ignored.
- When specified on <see cref="P:System.Text.Json.Serialization.JsonIgnoreAttribute.Condition"/>, controls whether
- a property or field is ignored during serialization and deserialization. This option
- overrides the setting on <see cref="P:System.Text.Json.JsonSerializerOptions.DefaultIgnoreCondition"/>.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonIgnoreCondition.Never">
- <summary>
- Property is never ignored during serialization or deserialization.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonIgnoreCondition.Always">
- <summary>
- Property is always ignored during serialization and deserialization.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingDefault">
- <summary>
- If the value is the default, the property is ignored during serialization.
- This is applied to both reference and value-type properties and fields.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull">
- <summary>
- If the value is <see langword="null"/>, the property is ignored during serialization.
- This is applied only to reference-type properties and fields.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonKnownNamingPolicy">
- <summary>
- The <see cref="T:System.Text.Json.JsonNamingPolicy"/> to be used at run time.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonKnownNamingPolicy.Unspecified">
- <summary>
- Specifies that JSON property names should not be converted.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonKnownNamingPolicy.CamelCase">
- <summary>
- Specifies that the built-in <see cref="P:System.Text.Json.JsonNamingPolicy.CamelCase"/> be used to convert JSON property names.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonNumberHandling">
- <summary>
- Determines how <see cref="T:System.Text.Json.JsonSerializer"/> handles numbers when serializing and deserializing.
- <remarks>
- The behavior of <see cref="F:System.Text.Json.Serialization.JsonNumberHandling.WriteAsString"/> and <see cref="F:System.Text.Json.Serialization.JsonNumberHandling.AllowNamedFloatingPointLiterals"/> is not defined by the JSON specification. Altering the default number handling can potentially produce JSON that cannot be parsed by other JSON implementations.
- </remarks>
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonNumberHandling.Strict">
- <summary>
- Numbers will only be read from <see cref="F:System.Text.Json.JsonTokenType.Number"/> tokens and will only be written as JSON numbers (without quotes).
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonNumberHandling.AllowReadingFromString">
- <summary>
- Numbers can be read from <see cref="F:System.Text.Json.JsonTokenType.String"/> tokens.
- Does not prevent numbers from being read from <see cref="F:System.Text.Json.JsonTokenType.Number"/> token.
- Strings that have escaped characters will be unescaped before reading.
- Leading or trailing trivia within the string token, including whitespace, is not allowed.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonNumberHandling.WriteAsString">
- <summary>
- Numbers will be written as JSON strings (with quotes), not as JSON numbers.
- <remarks>
- This behavior is not defined by the JSON specification. Altering the default number handling can potentially produce JSON that cannot be parsed by other JSON implementations.
- </remarks>
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonNumberHandling.AllowNamedFloatingPointLiterals">
- <summary>
- The "NaN", "Infinity", and "-Infinity" <see cref="F:System.Text.Json.JsonTokenType.String"/> tokens can be read as
- floating-point constants, and the <see cref="T:System.Single"/> and <see cref="T:System.Double"/> values for these
- constants (such as <see cref="F:System.Single.PositiveInfinity"/> and <see cref="F:System.Double.NaN"/>)
- will be written as their corresponding JSON string representations.
- Strings that have escaped characters will be unescaped before reading.
- Leading or trailing trivia within the string token, including whitespace, is not allowed.
- <remarks>
- This behavior is not defined by the JSON specification. Altering the default number handling can potentially produce JSON that cannot be parsed by other JSON implementations.
- </remarks>
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonSerializableAttribute">
- <summary>
- Instructs the System.Text.Json source generator to generate source code to help optimize performance
- when serializing and deserializing instances of the specified type and types in its object graph.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonSerializableAttribute.#ctor(System.Type)">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonSerializableAttribute"/> with the specified type.
- </summary>
- <param name="type">The type to generate source code for.</param>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSerializableAttribute.TypeInfoPropertyName">
- <summary>
- The name of the property for the generated <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1"/> for
- the type on the generated, derived <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/> type.
- </summary>
- <remarks>
- Useful to resolve a name collision with another type in the compilation closure.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSerializableAttribute.GenerationMode">
- <summary>
- Determines what the source generator should generate for the type. If the value is <see cref="F:System.Text.Json.Serialization.JsonSourceGenerationMode.Default"/>,
- then the setting specified on <see cref="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.GenerationMode"/> will be used.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonSourceGenerationMode">
- <summary>
- The generation mode for the System.Text.Json source generator.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonSourceGenerationMode.Default">
- <summary>
- When specified on <see cref="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.GenerationMode"/>, indicates that both type-metadata initialization logic
- and optimized serialization logic should be generated for all types. When specified on <see cref="P:System.Text.Json.Serialization.JsonSerializableAttribute.GenerationMode"/>,
- indicates that the setting on <see cref="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.GenerationMode"/> should be used.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonSourceGenerationMode.Metadata">
- <summary>
- Instructs the JSON source generator to generate type-metadata initialization logic.
- </summary>
- <remarks>
- This mode supports all <see cref="T:System.Text.Json.JsonSerializer"/> features.
- </remarks>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonSourceGenerationMode.Serialization">
- <summary>
- Instructs the JSON source generator to generate optimized serialization logic.
- </summary>
- <remarks>
- This mode supports only a subset of <see cref="T:System.Text.Json.JsonSerializer"/> features.
- </remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute">
- <summary>
- Instructs the System.Text.Json source generator to assume the specified
- options will be used at run time via <see cref="T:System.Text.Json.JsonSerializerOptions"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.DefaultIgnoreCondition">
- <summary>
- Specifies the default ignore condition.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.IgnoreReadOnlyFields">
- <summary>
- Specifies whether to ignore read-only fields.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.IgnoreReadOnlyProperties">
- <summary>
- Specifies whether to ignore read-only properties.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.IncludeFields">
- <summary>
- Specifies whether to include fields for serialization and deserialization.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.PropertyNamingPolicy">
- <summary>
- Specifies a built-in naming polices to convert JSON property names with.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.WriteIndented">
- <summary>
- Specifies whether JSON output should be pretty-printed.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute.GenerationMode">
- <summary>
- Specifies the source generation mode for types that don't explicitly set the mode with <see cref="P:System.Text.Json.Serialization.JsonSerializableAttribute.GenerationMode"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonConstructorAttribute">
- <summary>
- When placed on a constructor, indicates that the constructor should be used to create
- instances of the type on deserialization.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConstructorAttribute.#ctor">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonConstructorAttribute"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonConverterAttribute">
- <summary>
- When placed on a property, field, or type, specifies the converter type to use.
- </summary>
- <remarks>
- The specified converter type must derive from <see cref="T:System.Text.Json.Serialization.JsonConverter"/>.
- When placed on a property or field, the specified converter will always be used.
- When placed on a type, the specified converter will be used unless a compatible converter is added to
- <see cref="P:System.Text.Json.JsonSerializerOptions.Converters"/> or there is another <see cref="T:System.Text.Json.Serialization.JsonConverterAttribute"/> on a property or field
- of the same type.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverterAttribute.#ctor(System.Type)">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonConverterAttribute"/> with the specified converter type.
- </summary>
- <param name="converterType">The type of the converter.</param>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverterAttribute.#ctor">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonConverterAttribute"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverterAttribute.ConverterType">
- <summary>
- The type of the converter to create, or null if <see cref="M:System.Text.Json.Serialization.JsonConverterAttribute.CreateConverter(System.Type)"/> should be used to obtain the converter.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverterAttribute.CreateConverter(System.Type)">
- <summary>
- If overridden and <see cref="P:System.Text.Json.Serialization.JsonConverterAttribute.ConverterType"/> is null, allows a custom attribute to create the converter in order to pass additional state.
- </summary>
- <returns>
- The custom converter.
- </returns>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonDerivedTypeAttribute">
- <summary>
- When placed on a type declaration, indicates that the specified subtype should be opted into polymorphic serialization.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonDerivedTypeAttribute.#ctor(System.Type)">
- <summary>
- Initializes a new attribute with specified parameters.
- </summary>
- <param name="derivedType">A derived type that should be supported in polymorphic serialization of the declared based type.</param>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonDerivedTypeAttribute.#ctor(System.Type,System.String)">
- <summary>
- Initializes a new attribute with specified parameters.
- </summary>
- <param name="derivedType">A derived type that should be supported in polymorphic serialization of the declared base type.</param>
- <param name="typeDiscriminator">The type discriminator identifier to be used for the serialization of the subtype.</param>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonDerivedTypeAttribute.#ctor(System.Type,System.Int32)">
- <summary>
- Initializes a new attribute with specified parameters.
- </summary>
- <param name="derivedType">A derived type that should be supported in polymorphic serialization of the declared base type.</param>
- <param name="typeDiscriminator">The type discriminator identifier to be used for the serialization of the subtype.</param>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonDerivedTypeAttribute.DerivedType">
- <summary>
- A derived type that should be supported in polymorphic serialization of the declared base type.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonDerivedTypeAttribute.TypeDiscriminator">
- <summary>
- The type discriminator identifier to be used for the serialization of the subtype.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonExtensionDataAttribute">
- <summary>
- When placed on a property or field of type <see cref="T:System.Text.Json.Nodes.JsonObject"/> or
- <see cref="T:System.Collections.Generic.IDictionary`2"/>, any properties that do not have a
- matching property or field are added during deserialization and written during serialization.
- </summary>
- <remarks>
- When using <see cref="T:System.Collections.Generic.IDictionary`2"/>, the TKey value must be <see cref="T:System.String"/>
- and TValue must be <see cref="T:System.Text.Json.JsonElement"/> or <see cref="T:System.Object"/>.
-
- During deserializing with a <see cref="T:System.Collections.Generic.IDictionary`2"/> extension property with TValue as
- <see cref="T:System.Object"/>, the type of object created will either be a <see cref="T:System.Text.Json.Nodes.JsonNode"/> or a
- <see cref="T:System.Text.Json.JsonElement"/> depending on the value of <see cref="P:System.Text.Json.JsonSerializerOptions.UnknownTypeHandling"/>.
-
- If a <see cref="T:System.Text.Json.JsonElement"/> is created, a "null" JSON value is treated as a JsonElement with <see cref="P:System.Text.Json.JsonElement.ValueKind"/>
- set to <see cref="F:System.Text.Json.JsonValueKind.Null"/>, otherwise a "null" JSON value is treated as a <c>null</c> object reference.
-
- During serializing, the name of the extension data member is not included in the JSON;
- the data contained within the extension data is serialized as properties of the JSON object.
-
- If there is more than one extension member on a type, or the member is not of the correct type,
- an <see cref="T:System.InvalidOperationException"/> is thrown during the first serialization or deserialization of that type.
- </remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonIgnoreAttribute">
- <summary>
- Prevents a property or field from being serialized or deserialized.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonIgnoreAttribute.Condition">
- <summary>
- Specifies the condition that must be met before a property or field will be ignored.
- </summary>
- <remarks>The default value is <see cref="F:System.Text.Json.Serialization.JsonIgnoreCondition.Always"/>.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonIgnoreAttribute.#ctor">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonIgnoreAttribute"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonIncludeAttribute">
- <summary>
- Indicates that the property or field should be included for serialization and deserialization.
- </summary>
- <remarks>
- When applied to a public property, indicates that non-public getters and setters should be used for serialization and deserialization.
-
- Non-public properties and fields are not allowed when serializing and deserializing. If the attribute is used on a non-public property or field,
- an <see cref="T:System.InvalidOperationException"/> is thrown during the first serialization or deserialization of the declaring type.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonIncludeAttribute.#ctor">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonIncludeAttribute"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonNumberHandlingAttribute">
- <summary>
- When placed on a type, property, or field, indicates what <see cref="T:System.Text.Json.Serialization.JsonNumberHandling"/>
- settings should be used when serializing or deserializing numbers.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonNumberHandlingAttribute.Handling">
- <summary>
- Indicates what settings should be used when serializing or deserializing numbers.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonNumberHandlingAttribute.#ctor(System.Text.Json.Serialization.JsonNumberHandling)">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonNumberHandlingAttribute"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonPolymorphicAttribute">
- <summary>
- When placed on a type, indicates that the type should be serialized polymorphically.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonPolymorphicAttribute.TypeDiscriminatorPropertyName">
- <summary>
- Gets or sets a custom type discriminator property name for the polymorhic type.
- Uses the default '$type' property name if left unset.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonPolymorphicAttribute.UnknownDerivedTypeHandling">
- <summary>
- Gets or sets the behavior when serializing an undeclared derived runtime type.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonPolymorphicAttribute.IgnoreUnrecognizedTypeDiscriminators">
- <summary>
- When set to <see langword="true"/>, instructs the deserializer to ignore any
- unrecognized type discriminator id's and reverts to the contract of the base type.
- Otherwise, it will fail the deserialization.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonPropertyNameAttribute">
- <summary>
- Specifies the property name that is present in the JSON when serializing and deserializing.
- This overrides any naming policy specified by <see cref="T:System.Text.Json.JsonNamingPolicy"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonPropertyNameAttribute.#ctor(System.String)">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonPropertyNameAttribute"/> with the specified property name.
- </summary>
- <param name="name">The name of the property.</param>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonPropertyNameAttribute.Name">
- <summary>
- The name of the property.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonRequiredAttribute">
- <summary>
- Indicates that the annotated member must bind to a JSON property on deserialization.
- </summary>
- <remarks>
- <see langword="null"/> token in JSON will not trigger a validation error.
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- this attribute will be mapped to <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.IsRequired"/>.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonRequiredAttribute.#ctor">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonRequiredAttribute"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonPropertyOrderAttribute">
- <summary>
- Specifies the property order that is present in the JSON when serializing. Lower values are serialized first.
- If the attribute is not specified, the default value is 0.
- </summary>
- <remarks>If multiple properties have the same value, the ordering is undefined between them.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonPropertyOrderAttribute.#ctor(System.Int32)">
- <summary>
- Initializes a new instance of <see cref="T:System.Text.Json.Serialization.JsonPropertyOrderAttribute"/> with the specified order.
- </summary>
- <param name="order">The order of the property.</param>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonPropertyOrderAttribute.Order">
- <summary>
- The serialization order of the property.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.CastingConverter`2">
- <summary>
- Converter wrapper which casts SourceType into TargetType
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.JsonMetadataServicesConverter`1">
- <summary>
- Provides a mechanism to invoke "fast-path" serialization logic via
- <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.SerializeHandler"/>. This type holds an optional
- reference to an actual <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> for the type
- <typeparamref name="T"/>, to provide a fallback when the fast path cannot be used.
- </summary>
- <typeparam name="T">The type to converter</typeparam>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.LargeObjectWithParameterizedConstructorConverterWithReflection`1">
- <summary>
- Implementation of <cref>JsonObjectConverter{T}</cref> that supports the deserialization
- of JSON objects using parameterized constructors.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.ArrayConverter`2">
- <summary>
- Converter for <cref>System.Array</cref>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.DictionaryDefaultConverter`3">
- <summary>
- Default base class implementation of <cref>JsonDictionaryConverter{TCollection}</cref> .
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.DictionaryOfTKeyTValueConverter`3">
- <summary>
- Converter for Dictionary{string, TValue} that (de)serializes as a JSON object with properties
- representing the dictionary element key and value.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.ICollectionOfTConverter`2">
- <summary>
- Converter for <cref>System.Collections.Generic.ICollection{TElement}</cref>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.IDictionaryConverter`1">
- <summary>
- Converter for <cref>System.Collections.IDictionary</cref> that (de)serializes as a JSON object with properties
- representing the dictionary element key and value.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.IDictionaryOfTKeyTValueConverter`3">
- <summary>
- Converter for <cref>System.Collections.Generic.IDictionary{TKey, TValue}</cref> that
- (de)serializes as a JSON object with properties representing the dictionary element key and value.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.IEnumerableConverter`1">
- <summary>
- Converter for <cref>System.Collections.IEnumerable</cref>.
- </summary>
- <typeparam name="TCollection"></typeparam>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.IEnumerableConverterFactory">
- <summary>
- Converter factory for all IEnumerable types.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.IEnumerableDefaultConverter`2">
- <summary>
- Default base class implementation of <cref>JsonIEnumerableConverter{TCollection, TElement}</cref>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.IEnumerableOfTConverter`2">
- <summary>
- Converter for <cref>System.Collections.Generic.IEnumerable{TElement}</cref>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.IListConverter`1">
- Converter for <cref>System.Collections.IList</cref>.
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.IListOfTConverter`2">
- <summary>
- Converter for <cref>System.Collections.Generic.IList{TElement}</cref>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.ListOfTConverter`2">
- Converter for <cref>System.Collections.Generic.List{TElement}</cref>.
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.JsonNodeConverter">
- <summary>
- Converter for JsonNode-derived types. The {T} value must be Object and not JsonNode
- since we allow Object-declared members\variables to deserialize as {JsonNode}.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.ObjectConverterFactory">
- <summary>
- Converter factory for all object-based types (non-enumerable and non-primitive).
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1">
- <summary>
- Default base class implementation of <cref>JsonObjectConverter{T}</cref>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.ObjectWithParameterizedConstructorConverter`1">
- <summary>
- Implementation of <cref>JsonObjectConverter{T}</cref> that supports the deserialization
- of JSON objects using parameterized constructors.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Converters.ObjectWithParameterizedConstructorConverter`1.ReadConstructorArguments(System.Text.Json.ReadStack@,System.Text.Json.Utf8JsonReader@,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Performs a full first pass of the JSON input and deserializes the ctor args.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Converters.ObjectWithParameterizedConstructorConverter`1.TryLookupConstructorParameter(System.Text.Json.ReadStack@,System.Text.Json.Utf8JsonReader@,System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonParameterInfo@)">
- <summary>
- Lookup the constructor parameter given its name in the reader.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.LargeObjectWithParameterizedConstructorConverter`1">
- <summary>
- Implementation of <cref>JsonObjectConverter{T}</cref> that supports the deserialization
- of JSON objects using parameterized constructors.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Converters.SmallObjectWithParameterizedConstructorConverter`5">
- <summary>
- Implementation of <cref>JsonObjectConverter{T}</cref> that supports the deserialization
- of JSON objects using parameterized constructors.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.Converters.EnumConverter`1._nameCacheForWriting">
- <summary>
- Holds a mapping from enum value to text that might be formatted with <see cref="F:System.Text.Json.Serialization.Converters.EnumConverter`1._namingPolicy" />.
- <see cref="T:System.UInt64"/> is as the key used rather than <typeparamref name="T"/> given measurements that
- show private memory savings when a single type is used https://github.com/dotnet/runtime/pull/36726#discussion_r428868336.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.Converters.EnumConverter`1._nameCacheForReading">
- <summary>
- Holds a mapping from text that might be formatted with <see cref="F:System.Text.Json.Serialization.Converters.EnumConverter`1._namingPolicy" /> to enum value.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.Converters.EnumConverterOptions.AllowStrings">
- <summary>
- Allow string values.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.Converters.EnumConverterOptions.AllowNumbers">
- <summary>
- Allow number values.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.IJsonOnDeserialized">
- <summary>
- Specifies that the JSON type should have its <see cref="M:System.Text.Json.Serialization.IJsonOnDeserialized.OnDeserialized"/> method called after deserialization occurs.
- </summary>
- <remarks>
- This behavior is only supported on types representing JSON objects.
- Types that have a custom converter or represent either collections or primitive values do not support this behavior.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.IJsonOnDeserialized.OnDeserialized">
- <summary>
- The method that is called after deserialization.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.IJsonOnDeserializing">
- <summary>
- Specifies that the type should have its <see cref="M:System.Text.Json.Serialization.IJsonOnDeserializing.OnDeserializing"/> method called before deserialization occurs.
- </summary>
- <remarks>
- This behavior is only supported on types representing JSON objects.
- Types that have a custom converter or represent either collections or primitive values do not support this behavior.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.IJsonOnDeserializing.OnDeserializing">
- <summary>
- The method that is called before deserialization.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.IJsonOnSerialized">
- <summary>
- Specifies that the type should have its <see cref="M:System.Text.Json.Serialization.IJsonOnSerialized.OnSerialized"/> method called after serialization occurs.
- </summary>
- <remarks>
- This behavior is only supported on types representing JSON objects.
- Types that have a custom converter or represent either collections or primitive values do not support this behavior.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.IJsonOnSerialized.OnSerialized">
- <summary>
- The method that is called after serialization.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.IJsonOnSerializing">
- <summary>
- Specifies that the type should have its <see cref="M:System.Text.Json.Serialization.IJsonOnSerializing.OnSerializing"/> method called before serialization occurs.
- </summary>
- <remarks>
- This behavior is only supported on types representing JSON objects.
- Types that have a custom converter or represent either collections or primitive values do not support this behavior.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.IJsonOnSerializing.OnSerializing">
- <summary>
- The method that is called before serialization.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonSerializerContext">
- <summary>
- Provides metadata about a set of types that is relevant to JSON serialization.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSerializerContext.Options">
- <summary>
- Gets the run time specified options of the context. If no options were passed
- when instanciating the context, then a new instance is bound and returned.
- </summary>
- <remarks>
- The options instance cannot be mutated once it is bound to the context instance.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSerializerContext.CanUseSerializationLogic">
- <summary>
- Indicates whether pre-generated serialization logic for types in the context
- is compatible with the run time specified <see cref="T:System.Text.Json.JsonSerializerOptions"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonSerializerContext.GeneratedSerializerOptions">
- <summary>
- The default run time options for the context. Its values are defined at design-time via <see cref="T:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonSerializerContext.#ctor(System.Text.Json.JsonSerializerOptions)">
- <summary>
- Creates an instance of <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/> and binds it with the indicated <see cref="T:System.Text.Json.JsonSerializerOptions"/>.
- </summary>
- <param name="options">The run time provided options for the context instance.</param>
- <remarks>
- If no instance options are passed, then no options are set until the context is bound using <see cref="M:System.Text.Json.JsonSerializerOptions.AddContext``1"/>,
- or until <see cref="P:System.Text.Json.Serialization.JsonSerializerContext.Options"/> is called, where a new options instance is created and bound.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance representing the given type.
- </summary>
- <param name="type">The type to fetch metadata about.</param>
- <returns>The metadata for the specified type, or <see langword="null" /> if the context has no metadata for the type.</returns>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling">
- <summary>
- Defines how objects of a derived runtime type that has not been explicitly declared for polymorphic serialization should be handled.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling.FailSerialization">
- <summary>
- An object of undeclared runtime type will fail polymorphic serialization.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling.FallBackToBaseType">
- <summary>
- An object of undeclared runtime type will fall back to the serialization contract of the base type.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonUnknownDerivedTypeHandling.FallBackToNearestAncestor">
- <summary>
- An object of undeclared runtime type will revert to the serialization contract of the nearest declared ancestor type.
- Certain interface hierarchies are not supported due to diamond ambiguity constraints.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver">
- <summary>
- Defines the default, reflection-based JSON contract resolver used by System.Text.Json.
- </summary>
- <remarks>
- The contract resolver used by <see cref="P:System.Text.Json.JsonSerializerOptions.Default"/>.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.#ctor">
- <summary>
- Creates a mutable <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> instance.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetTypeInfo(System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Resolves a JSON contract for a given <paramref name="type"/> and <paramref name="options"/> configuration.
- </summary>
- <param name="type">The type for which to resolve a JSON contract.</param>
- <param name="options">A <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance used to determine contract configuration.</param>
- <returns>A <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> defining a reflection-derived JSON contract for <paramref name="type"/>.</returns>
- <exception cref="T:System.ArgumentNullException"><paramref name="type"/> or <paramref name="options"/> is <see langword="null"/>.</exception>
- <remarks>
- The base implementation of this method will produce a reflection-derived contract
- and apply any callbacks from the <see cref="P:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.Modifiers"/> list.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.Modifiers">
- <summary>
- Gets a list of user-defined callbacks that can be used to modify the initial contract.
- </summary>
- <remarks>
- The modifier list will be rendered immutable after the first <see cref="M:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver.GetTypeInfo(System.Type,System.Text.Json.JsonSerializerOptions)"/> invocation.
-
- Modifier callbacks are called consecutively in the order in which they are specified in the list.
- </remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver">
- <summary>
- Used to resolve the JSON serialization contract for requested types.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver.GetTypeInfo(System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Resolves a <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> contract for the requested type and options.
- </summary>
- <param name="type">Type to be resolved.</param>
- <param name="options">Configuration used when resolving the metadata.</param>
- <returns>
- A <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance matching the requested type,
- or <see langword="null"/> if no contract could be resolved.
- </returns>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonDerivedType">
- <summary>
- Represents a supported derived type defined in the metadata of a polymorphic type.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonDerivedType.#ctor(System.Type)">
- <summary>
- Specifies a supported derived type without a type discriminator.
- </summary>
- <param name="derivedType">The derived type to be supported by the polymorphic type metadata.</param>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonDerivedType.#ctor(System.Type,System.Int32)">
- <summary>
- Specifies a supported derived type with an integer type discriminator.
- </summary>
- <param name="derivedType">The derived type to be supported by the polymorphic type metadata.</param>
- <param name="typeDiscriminator">The type discriminator to be associated with the derived type.</param>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonDerivedType.#ctor(System.Type,System.String)">
- <summary>
- Specifies a supported derived type with a string type discriminator.
- </summary>
- <param name="derivedType">The derived type to be supported by the polymorphic type metadata.</param>
- <param name="typeDiscriminator">The type discriminator to be associated with the derived type.</param>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonDerivedType.DerivedType">
- <summary>
- A derived type that should be supported in polymorphic serialization of the declared base type.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonDerivedType.TypeDiscriminator">
- <summary>
- The type discriminator identifier to be used for the serialization of the subtype.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions">
- <summary>
- Defines polymorphic configuration for a specified base type.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions.DerivedTypes">
- <summary>
- Gets the list of derived types supported in the current polymorphic type configuration.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions.IgnoreUnrecognizedTypeDiscriminators">
- <summary>
- When set to <see langword="true"/>, instructs the serializer to ignore any
- unrecognized type discriminator id's and reverts to the contract of the base type.
- Otherwise, it will fail the deserialization.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The parent <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
- </exception>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions.UnknownDerivedTypeHandling">
- <summary>
- Gets or sets the behavior when serializing an undeclared derived runtime type.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The parent <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
- </exception>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPolymorphismOptions.TypeDiscriminatorPropertyName">
- <summary>
- Gets or sets a custom type discriminator property name for the polymorhic type.
- Uses the default '$type' property name if left unset.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The parent <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
- </exception>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonTypeInfoResolver">
- <summary>
- Contains utilities and combinators acting on <see cref="T:System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonTypeInfoResolver.Combine(System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver[])">
- <summary>
- Combines multiple <see cref="T:System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver"/> sources into one.
- </summary>
- <param name="resolvers">Sequence of contract resolvers to be queried for metadata.</param>
- <returns>A <see cref="T:System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver"/> combining results from <paramref name="resolvers"/>.</returns>
- <exception cref="T:System.ArgumentException"><paramref name="resolvers"/> or any of its elements is null.</exception>
- <remarks>
- The combined resolver will query each of <paramref name="resolvers"/> in the specified order,
- returning the first result that is non-null. If all <paramref name="resolvers"/> return null,
- then the combined resolver will also return <see langword="null"/>.
-
- Can be used to combine multiple <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/> sources,
- which typically define contract metadata for small subsets of types.
- It can also be used to fall back to <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> wherever necessary.
- </remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind">
- <summary>
- Determines the kind of contract metadata a given <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> is specifying.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.None">
- <summary>
- Type is either a simple value or uses a custom converter.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object">
- <summary>
- Type is serialized as an object with properties.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Enumerable">
- <summary>
- Type is serialized as a collection with elements.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Dictionary">
- <summary>
- Type is serialized as a dictionary with key/value pair entries.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.CustomJsonTypeInfo`1">
- <summary>
- Creates and initializes serialization metadata for a type.
- </summary>
- <typeparam name="T"></typeparam>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.CustomJsonTypeInfo`1.#ctor(System.Text.Json.Serialization.JsonConverter,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Creates serialization metadata for a type using a simple converter.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.FSharpCoreReflectionProxy">
- <summary>
- Proxy class used to access FSharp.Core metadata and reflection APIs that are not statically available to System.Text.Json.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.FSharpCoreReflectionProxy.FSharpKind">
- <summary>
- The various categories of F# types that System.Text.Json supports.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.FSharpCoreReflectionProxy.IsFSharpType(System.Type)">
- <summary>
- Checks if the provided System.Type instance is emitted by the F# compiler.
- If true, also initializes the proxy singleton for future by other F# types.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.FSharpCoreReflectionProxy.Instance">
- <summary>
- Gets the singleton proxy instance; prerequires a successful IsFSharpType call for proxy initialization.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.DefaultValueHolder">
- <summary>
- Helper class used for calculating the default value for a given System.Type instance.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.DefaultValueHolder.DefaultValue">
- <summary>
- Returns the default value for the specified type.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.DefaultValueHolder.IsDefaultValue(System.Object)">
- <summary>
- Returns true if <param name="value"/> contains only default values.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.DefaultValueHolder.CreateHolder(System.Type)">
- <summary>
- Creates a holder instance representing a type.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues`1">
- <summary>
- Provides serialization metadata about a collection type.
- </summary>
- <typeparam name="TCollection">The collection type.</typeparam>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues`1.ObjectCreator">
- <summary>
- A <see cref="T:System.Func`1"/> to create an instance of the collection when deserializing.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues`1.KeyInfo">
- <summary>
- If a dictionary type, the <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance representing the key type.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues`1.ElementInfo">
- <summary>
- A <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance representing the element type.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues`1.NumberHandling">
- <summary>
- The <see cref="T:System.Text.Json.Serialization.JsonNumberHandling"/> option to apply to number collection elements.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues`1.SerializeHandler">
- <summary>
- An optimized serialization implementation assuming pre-determined <see cref="T:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute"/> defaults.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonMetadataServices">
- <summary>
- Provides helpers to create and initialize metadata for JSON-serializable types.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0[]})">
- <summary>
- Creates serialization metadata for an array.
- </summary>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> to use.</param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateListInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.List`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> to use.</param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo``3(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.Dictionary`2"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TKey">The generic definition of the key type.</typeparam>
- <typeparam name="TValue">The generic definition of the value type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableDictionaryInfo``3(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0},System.Func{System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``1,``2}},``0})">
- <summary>
- Creates serialization metadata for <see cref="!:System.Collections.Immutable.ImmutableDictionary<TKey, TValue>"/> and
- types assignable to <see cref="!:System.Collections.Immutable.IImmutableDictionary<TKey, TValue>"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TKey">The generic definition of the key type.</typeparam>
- <typeparam name="TValue">The generic definition of the value type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <param name="createRangeFunc">A method to create an immutable dictionary instance.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo``3(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.IDictionary`2"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TKey">The generic definition of the key type.</typeparam>
- <typeparam name="TValue">The generic definition of the value type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIReadOnlyDictionaryInfo``3(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.IReadOnlyDictionary`2"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TKey">The generic definition of the key type.</typeparam>
- <typeparam name="TValue">The generic definition of the value type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateImmutableEnumerableInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0},System.Func{System.Collections.Generic.IEnumerable{``1},``0})">
- <summary>
- Creates serialization metadata for non-dictionary immutable collection types.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <param name="createRangeFunc">A method to create an immutable dictionary instance.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIListInfo``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.IList"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIListInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.IList`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateISetInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.ISet`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateICollectionInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.ICollection`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateStackInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.Stack`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateQueueInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.Queue`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateConcurrentStackInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Concurrent.ConcurrentStack`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateConcurrentQueueInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.Queue`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.IEnumerable`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIAsyncEnumerableInfo``2(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.Generic.IAsyncEnumerable`1"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <typeparam name="TElement">The generic definition of the element type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.IDictionary"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateStackInfo``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0},System.Action{``0,System.Object})">
- <summary>
- Creates serialization metadata for <see cref="!:System.Collections.Stack"/> types.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <param name="addFunc">A method for adding elements to the collection when using the serializer's code-paths.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateQueueInfo``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0},System.Action{``0,System.Object})">
- <summary>
- Creates serialization metadata for <see cref="!:System.Collections.Queue"/> types.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <param name="addFunc">A method for adding elements to the collection when using the serializer's code-paths.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{``0})">
- <summary>
- Creates serialization metadata for types assignable to <see cref="T:System.Collections.IList"/>.
- </summary>
- <typeparam name="TCollection">The generic definition of the type.</typeparam>
- <param name="options"></param>
- <param name="collectionInfo">Provides serialization metadata about the collection type.</param>
- <returns>Serialization metadata for the given type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.BooleanConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Boolean"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.ByteArrayConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts byte array values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.ByteConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Byte"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CharConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Char"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.DateTimeConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.DateTime"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.DateTimeOffsetConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.DateTimeOffset"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.DateOnlyConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.DateOnly"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.TimeOnlyConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.TimeOnly"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.DecimalConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Decimal"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.DoubleConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Double"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.GuidConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Guid"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.Int16Converter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Int16"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.Int32Converter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Int32"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.Int64Converter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Int64"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.JsonArrayConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Text.Json.Nodes.JsonArray"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.JsonElementConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Text.Json.JsonElement"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.JsonNodeConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Text.Json.Nodes.JsonNode"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.JsonObjectConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Text.Json.Nodes.JsonObject"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.JsonValueConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Text.Json.Nodes.JsonArray"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.JsonDocumentConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Text.Json.JsonDocument"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.ObjectConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Object"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.SingleConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Single"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.SByteConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.SByte"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.StringConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.String"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.TimeSpanConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.TimeSpan"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.UInt16Converter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.UInt16"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.UInt32Converter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.UInt32"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.UInt64Converter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.UInt64"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.UriConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Uri"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonMetadataServices.VersionConverter">
- <summary>
- Returns a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <see cref="T:System.Version"/> values.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetUnsupportedTypeConverter``1">
- <summary>
- Creates a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that throws <see cref="T:System.NotSupportedException"/>.
- </summary>
- <typeparam name="T">The generic definition for the type.</typeparam>
- <returns>A <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that throws <see cref="T:System.NotSupportedException"/></returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetEnumConverter``1(System.Text.Json.JsonSerializerOptions)">
- <summary>
- Creates a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <typeparamref name="T"/> values.
- </summary>
- <typeparam name="T">The generic definition for the enum type.</typeparam>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> to use for serialization and deserialization.</param>
- <returns>A <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <typeparamref name="T"/> values.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter``1(System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Creates a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <typeparamref name="T??"/> values.
- </summary>
- <typeparam name="T">The generic definition for the underlying nullable type.</typeparam>
- <param name="underlyingTypeInfo">Serialization metadata for the underlying nullable type.</param>
- <returns>A <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <typeparamref name="T??"/> values</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetNullableConverter``1(System.Text.Json.JsonSerializerOptions)">
- <summary>
- Creates a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <typeparamref name="T??"/> values.
- </summary>
- <typeparam name="T">The generic definition for the underlying nullable type.</typeparam>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> to use for serialization and deserialization.</param>
- <returns>A <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance that converts <typeparamref name="T??"/> values</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues{``0})">
- <summary>
- Creates metadata for a property or field.
- </summary>
- <typeparam name="T">The type that the converter for the property returns or accepts when converting JSON data.</typeparam>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> to initialize the metadata with.</param>
- <param name="propertyInfo">Provides serialization metadata about the property or field.</param>
- <returns>A <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance initialized with the provided metadata.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonObjectInfoValues{``0})">
- <summary>
- Creates metadata for a complex class or struct.
- </summary>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> to initialize the metadata with.</param>
- <param name="objectInfo">Provides serialization metadata about an object type with constructors, properties, and fields.</param>
- <typeparam name="T">The type of the class or struct.</typeparam>
- <exception cref="T:System.ArgumentNullException">Thrown when <paramref name="options"/> or <paramref name="objectInfo"/> is null.</exception>
- <returns>A <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1"/> instance representing the class or struct.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo``1(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.JsonConverter)">
- <summary>
- Creates metadata for a primitive or a type with a custom converter.
- </summary>
- <typeparam name="T">The generic type definition.</typeparam>
- <returns>A <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1"/> instance representing the type.</returns>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonObjectInfoValues`1">
- <summary>
- Provides serialization metadata about an object type with constructors, properties, and fields.
- </summary>
- <typeparam name="T">The object type to serialize or deserialize.</typeparam>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonObjectInfoValues`1.ObjectCreator">
- <summary>
- Provides a mechanism to create an instance of the class or struct when deserializing, using a parameterless constructor.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonObjectInfoValues`1.ObjectWithParameterizedConstructorCreator">
- <summary>
- Provides a mechanism to create an instance of the class or struct when deserializing, using a parameterized constructor.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonObjectInfoValues`1.PropertyMetadataInitializer">
- <summary>
- Provides a mechanism to initialize metadata for properties and fields of the class or struct.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonObjectInfoValues`1.ConstructorParameterMetadataInitializer">
- <summary>
- Provides a mechanism to initialize metadata for a parameterized constructor of the class or struct to be used when deserializing.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonObjectInfoValues`1.NumberHandling">
- <summary>
- Specifies how number properties and fields should be processed when serializing and deserializing.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonObjectInfoValues`1.SerializeHandler">
- <summary>
- Provides a serialization implementation for instances of the class or struct which assumes options specified by <see cref="T:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute"/>.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonParameterInfoValues">
- <summary>
- Provides information about a constructor parameter required for JSON deserialization.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonParameterInfoValues.Name">
- <summary>
- The name of the parameter.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonParameterInfoValues.ParameterType">
- <summary>
- The type of the parameter.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonParameterInfoValues.Position">
- <summary>
- The zero-based position of the parameter in the formal parameter list.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonParameterInfoValues.HasDefaultValue">
- <summary>
- Whether a default value was specified for the parameter.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonParameterInfoValues.DefaultValue">
- <summary>
- The default value of the parameter.
- </summary>
- <remarks>This API is for use by the output of the System.Text.Json source generator and should not be called directly.</remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonParameterInfo">
- <summary>
- Holds relevant state about a method parameter, like the default value of
- the parameter, and the position in the method's parameter list.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonParameterInfo.CreateIgnoredParameterPlaceholder(System.Text.Json.Serialization.Metadata.JsonParameterInfoValues,System.Text.Json.Serialization.Metadata.JsonPropertyInfo,System.Boolean)">
- <summary>
- Create a parameter that is ignored at run time. It uses the same type (typeof(sbyte)) to help
- prevent issues with unsupported types and helps ensure we don't accidently (de)serialize it.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonParameterInfo`1">
- <summary>
- Represents a strongly-typed parameter to prevent boxing where have less than 4 parameters.
- Holds relevant state like the default value of the parameter, and the position in the method's parameter list.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo">
- <summary>
- Provides JSON serialization-related metadata about a property or field defined in an object.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.EffectiveConverter">
- <summary>
- Converter after applying CustomConverter (i.e. JsonConverterAttribute)
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.CustomConverter">
- <summary>
- Gets or sets a custom converter override for the current property.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- It is possible to use <see cref="T:System.Text.Json.Serialization.JsonConverterFactory"/> instances with this property.
-
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/>, the value of
- <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.CustomConverter"/> will be mapped from <see cref="T:System.Text.Json.Serialization.JsonConverterAttribute" /> annotations.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Get">
- <summary>
- Gets or sets a getter delegate for the property.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- Setting to <see langword="null"/> will result in the property being skipped on serialization.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Set">
- <summary>
- Gets or sets a setter delegate for the property.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- Setting to <see langword="null"/> will result in the property being skipped on deserialization.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.ShouldSerialize">
- <summary>
- Gets or sets a predicate deciding whether the current property value should be serialized.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- The first parameter denotes the parent object, the second parameter denotes the property value.
-
- Setting the predicate to <see langword="null"/> is equivalent to always serializing the property value.
-
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/>,
- the value of <see cref="P:System.Text.Json.Serialization.JsonIgnoreAttribute.Condition"/> will map to this predicate.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.AttributeProvider">
- <summary>
- Gets or sets a custom attribute provider for the current property.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- When resolving metadata via <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> this
- will be populated with the underlying <see cref="T:System.Reflection.MemberInfo" /> of the serialized property or field.
-
- Setting a custom attribute provider will have no impact on the contract model,
- but serves as metadata for downstream contract modifiers.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.IsExtensionData">
- <summary>
- Specifies whether the current property is a special extension data property.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
-
- -or-
-
- The current <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.PropertyType"/> is not valid for use with extension data.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value of this property will be mapped from <see cref="T:System.Text.Json.Serialization.JsonExtensionDataAttribute"/> annotations.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.IsRequired">
- <summary>
- Specifies whether the current property is required for deserialization to be successful.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value of this property will be mapped from <see cref="T:System.Text.Json.Serialization.JsonRequiredAttribute"/> annotations.
-
- For contracts using <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/>, properties using the <see langword="required"/> keyword
- will also map to this setting, unless deserialization uses a SetsRequiredMembersAttribute on a constructor that populates all required properties.
- <see langword="required"/> keyword is currently not supported in <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/> contracts.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.PropertyType">
- <summary>
- Gets the type of the current property.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.IsForTypeInfo">
- <summary>
- True if the corresponding cref="JsonTypeInfo.PropertyInfoForTypeInfo"/> is this instance.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Name">
- <summary>
- Gets or sets the JSON property name used when serializing the property.
- </summary>
- <exception cref="T:System.ArgumentNullException"><paramref name="value"/> is null.</exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- The value of <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Name"/> cannot conflict with that of other <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> defined in the declaring <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.JsonTypeInfo"/>.
-
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value typically reflects the underlying .NET member name, the name derived from <see cref="P:System.Text.Json.JsonSerializerOptions.PropertyNamingPolicy" />,
- or the value specified in <see cref="T:System.Text.Json.Serialization.JsonPropertyNameAttribute" />.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.NameAsUtf8Bytes">
- <summary>
- Utf8 version of Name.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.EscapedNameSection">
- <summary>
- The escaped name passed to the writer.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Options">
- <summary>
- Gets the <see cref="T:System.Text.Json.JsonSerializerOptions"/> value associated with the current contract instance.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Order">
- <summary>
- Gets or sets the serialization order for the current property.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value of this property will be mapped from <see cref="T:System.Text.Json.Serialization.JsonPropertyOrderAttribute"/> annotations.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.CanSerialize">
- <summary>
- Reflects the value of <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.HasGetter"/> combined with any additional global ignore policies.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.CanDeserialize">
- <summary>
- Reflects the value of <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.HasSetter"/> combined with any additional global ignore policies.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.SrcGen_HasJsonInclude">
- <summary>
- Relevant to source generated metadata: did the property have the <see cref="T:System.Text.Json.Serialization.JsonIncludeAttribute"/>?
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.SrcGen_IsPublic">
- <summary>
- Relevant to source generated metadata: is the property public?
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.DeclaringTypeNumberHandling">
- <summary>
- Number handling for declaring type
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.NumberHandling">
- <summary>
- Gets or sets the <see cref="T:System.Text.Json.Serialization.JsonNumberHandling"/> applied to the current property.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value of this property will be mapped from <see cref="T:System.Text.Json.Serialization.JsonNumberHandlingAttribute"/> annotations.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.EffectiveNumberHandling">
- <summary>
- Number handling after considering options and declaring type number handling
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.DefaultValue">
- <summary>
- Default value used for parameterized ctor invocation.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.RequiredPropertyIndex">
- <summary>
- Required property index on the list of JsonTypeInfo properties.
- It is used as a unique identifier for required properties.
- It is set just before property is configured and does not change afterward.
- It is not equivalent to index on the properties list
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1">
- <summary>
- Represents a strongly-typed property to prevent boxing and to create a direct delegate to the getter\setter.
- </summary>
- <typeparamref name="T"/> is the <see cref="P:System.Text.Json.Serialization.JsonConverter`1.TypeToConvert"/> for either the property's converter,
- or a type's converter, if the current instance is a <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.PropertyInfoForTypeInfo"/>.
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1">
- <summary>
- Provides serialization metadata about a property or field.
- </summary>
- <typeparam name="T">The type to convert of the <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> for the property.</typeparam>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.IsProperty">
- <summary>
- If <see langword="true"/>, indicates that the member is a property, otherwise indicates the member is a field.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.IsPublic">
- <summary>
- Whether the property or field is public.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.IsVirtual">
- <summary>
- Whether the property or field is a virtual property.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.DeclaringType">
- <summary>
- The declaring type of the property or field.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.PropertyTypeInfo">
- <summary>
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> info for the property or field's type.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.Converter">
- <summary>
- A <see cref="T:System.Text.Json.Serialization.JsonConverter"/> for the property or field, specified by <see cref="T:System.Text.Json.Serialization.JsonConverterAttribute"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.Getter">
- <summary>
- Provides a mechanism to get the property or field's value.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.Setter">
- <summary>
- Provides a mechanism to set the property or field's value.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.IgnoreCondition">
- <summary>
- Specifies a condition for the member to be ignored.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.HasJsonInclude">
- <summary>
- Whether the property was annotated with <see cref="T:System.Text.Json.Serialization.JsonIncludeAttribute"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.IsExtensionData">
- <summary>
- Whether the property was annotated with <see cref="T:System.Text.Json.Serialization.JsonExtensionDataAttribute"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.NumberHandling">
- <summary>
- If the property or field is a number, specifies how it should processed when serializing and deserializing.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.PropertyName">
- <summary>
- The name of the property or field.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues`1.JsonPropertyName">
- <summary>
- The name to be used when processing the property or field, specified by <see cref="T:System.Text.Json.Serialization.JsonPropertyNameAttribute"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.SourceGenJsonTypeInfo`1">
- <summary>
- Creates and initializes serialization metadata for a type.
- </summary>
- <typeparam name="T"></typeparam>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.SourceGenJsonTypeInfo`1.#ctor(System.Text.Json.Serialization.JsonConverter,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Creates serialization metadata for a type using a simple converter.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.SourceGenJsonTypeInfo`1.#ctor(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonObjectInfoValues{`0})">
- <summary>
- Creates serialization metadata for an object.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.SourceGenJsonTypeInfo`1.#ctor(System.Text.Json.JsonSerializerOptions,System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues{`0},System.Func{System.Text.Json.Serialization.JsonConverter{`0}},System.Object,System.Object)">
- <summary>
- Creates serialization metadata for a collection.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1">
- <summary>
- Provides JSON serialization-related metadata about a type.
- </summary>
- <typeparam name="T">The generic definition of the type.</typeparam>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.EffectiveConverter">
- <summary>
- A Converter whose declared type always matches that of the current JsonTypeInfo.
- It might be the same instance as JsonTypeInfo.Converter or it could be wrapped
- in a CastingConverter in cases where a polymorphic converter is being used.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.CreateObject">
- <summary>
- Gets or sets a parameterless factory to be used on deserialization.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
-
- -or-
-
- A parameterless factory is not supported for the current metadata <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Kind"/>.
- </exception>
- <remarks>
- If set to <see langword="null" />, any attempt to deserialize instances of the given type will fail at runtime.
-
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- types with a single default constructor or default constructors annotated with <see cref="T:System.Text.Json.Serialization.JsonConstructorAttribute"/>
- will be mapped to this delegate.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1.SerializeHandler">
- <summary>
- Serializes an instance of <typeparamref name="T"/> using
- <see cref="T:System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute"/> values specified at design time.
- </summary>
- <remarks>The writer is not flushed after writing.</remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo">
- <summary>
- Provides JSON serialization-related metadata about a type.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.Metadata.JsonTypeInfo.ObjectType">
- <summary>
- Cached typeof(object). It is faster to cache this than to call typeof(object) multiple times.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonTypeInfo.CreateJsonPropertyInfo(System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Creates a JsonPropertyInfo whose property type matches the type of this JsonTypeInfo instance.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonTypeInfo.GetKey(System.ReadOnlySpan{System.Byte})">
- <summary>
- Get a key from the property name.
- The key consists of the first 7 bytes of the property name and then the length.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.NumberOfRequiredProperties">
- <summary>
- Indices of required properties.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.CreateObject">
- <summary>
- Gets or sets a parameterless factory to be used on deserialization.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
-
- -or-
-
- A parameterless factory is not supported for the current metadata <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Kind"/>.
- </exception>
- <remarks>
- If set to <see langword="null" />, any attempt to deserialize instances of the given type will result in an exception.
-
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- types with a single default constructor or default constructors annotated with <see cref="T:System.Text.Json.Serialization.JsonConstructorAttribute"/>
- will be mapped to this delegate.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.OnSerializing">
- <summary>
- Gets or sets a callback to be invoked before serialization occurs.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
-
- -or-
-
- Serialization callbacks are only supported for <see cref="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object"/> metadata.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value of this callback will be mapped from any <see cref="T:System.Text.Json.Serialization.IJsonOnSerializing"/> implementation on the type.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.OnSerialized">
- <summary>
- Gets or sets a callback to be invoked after serialization occurs.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
-
- -or-
-
- Serialization callbacks are only supported for <see cref="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object"/> metadata.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value of this callback will be mapped from any <see cref="T:System.Text.Json.Serialization.IJsonOnSerialized"/> implementation on the type.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.OnDeserializing">
- <summary>
- Gets or sets a callback to be invoked before deserialization occurs.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
-
- -or-
-
- Serialization callbacks are only supported for <see cref="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object"/> metadata.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value of this callback will be mapped from any <see cref="T:System.Text.Json.Serialization.IJsonOnDeserializing"/> implementation on the type.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.OnDeserialized">
- <summary>
- Gets or sets a callback to be invoked after deserialization occurs.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
-
- -or-
-
- Serialization callbacks are only supported for <see cref="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object"/> metadata.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value of this callback will be mapped from any <see cref="T:System.Text.Json.Serialization.IJsonOnDeserialized"/> implementation on the type.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Properties">
- <summary>
- Gets the list of <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> metadata corresponding to the current type.
- </summary>
- <remarks>
- Property is only applicable to metadata of kind <see cref="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object"/>.
- For other kinds an empty, read-only list will be returned.
-
- The order of <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> entries in the list determines the serialization order,
- unless either of the entries specifies a non-zero <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Order"/> value,
- in which case the properties will be stable sorted by <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Order"/>.
-
- It is required that added <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> entries are unique up to <see cref="P:System.Text.Json.Serialization.Metadata.JsonPropertyInfo.Name"/>,
- however this will only be validated on serialization, once the metadata instance gets locked for further modification.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.PolymorphismOptions">
- <summary>
- Gets or sets a configuration object specifying polymorphism metadata.
- </summary>
- <exception cref="T:System.ArgumentException">
- <paramref name="value" /> has been associated with a different <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
-
- -or-
-
- Polymorphic serialization is not supported for the current metadata <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Kind"/>.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the configuration of this setting will be mapped from any <see cref="T:System.Text.Json.Serialization.JsonDerivedTypeAttribute"/> or <see cref="T:System.Text.Json.Serialization.JsonPolymorphicAttribute"/> annotations.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.IsReadOnly">
- <summary>
- Specifies whether the current instance has been locked for modification.
- </summary>
- <remarks>
- A <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance can be locked either if
- it has been passed to one of the <see cref="T:System.Text.Json.JsonSerializer"/> methods,
- has been associated with a <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/> instance,
- or a user explicitly called the <see cref="M:System.Text.Json.Serialization.Metadata.JsonTypeInfo.MakeReadOnly"/> method on the instance.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonTypeInfo.MakeReadOnly">
- <summary>
- Locks the current instance for further modification.
- </summary>
- <remarks>This method is idempotent.</remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.ElementTypeInfo">
- <summary>
- Return the JsonTypeInfo for the element type, or null if the type is not an enumerable or dictionary.
- </summary>
- <remarks>
- This should not be called during warm-up (initial creation of JsonTypeInfos) to avoid recursive behavior
- which could result in a StackOverflowException.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.KeyTypeInfo">
- <summary>
- Return the JsonTypeInfo for the key type, or null if the type is not a dictionary.
- </summary>
- <remarks>
- This should not be called during warm-up (initial creation of JsonTypeInfos) to avoid recursive behavior
- which could result in a StackOverflowException.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Options">
- <summary>
- Gets the <see cref="T:System.Text.Json.JsonSerializerOptions"/> value associated with the current <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo" /> instance.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Type">
- <summary>
- Gets the <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Type"/> for which the JSON serialization contract is being defined.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Converter">
- <summary>
- Gets the <see cref="T:System.Text.Json.Serialization.JsonConverter"/> associated with the current type.
- </summary>
- <remarks>
- The <see cref="T:System.Text.Json.Serialization.JsonConverter"/> associated with the type determines the value of <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Kind"/>,
- and by extension the types of metadata that are configurable in the current JSON contract.
- As such, the value of the converter cannot be changed once a <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been created.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Kind">
- <summary>
- Determines the kind of contract metadata that the current instance is specifying.
- </summary>
- <remarks>
- The value of <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Kind"/> determines what aspects of the JSON contract are configurable.
- For example, it is only possible to configure the <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Properties"/> list for metadata
- of kind <see cref="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.Object"/>.
-
- The value of <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Kind"/> is determined exclusively by the <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- resolved for the current type, and cannot be changed once resolution has happened.
- User-defined custom converters (specified either via <see cref="T:System.Text.Json.Serialization.JsonConverterAttribute"/> or <see cref="P:System.Text.Json.JsonSerializerOptions.Converters"/>)
- are metadata-agnostic and thus always resolve to <see cref="F:System.Text.Json.Serialization.Metadata.JsonTypeInfoKind.None"/>.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.PropertyInfoForTypeInfo">
- <summary>
- The JsonPropertyInfo for this JsonTypeInfo. It is used to obtain the converter for the TypeInfo.
- </summary>
- <remarks>
- The returned JsonPropertyInfo does not represent a real property; instead it represents either:
- a collection element type,
- a generic type parameter,
- a property type (if pushed to a new stack frame),
- or the root type passed into the root serialization APIs.
- For example, for a property returning <see cref="T:System.Collections.Generic.List`1"/> where T is a string,
- a JsonTypeInfo will be created with .Type=typeof(string) and .PropertyInfoForTypeInfo=JsonPropertyInfo{string}.
- Without this property, a "Converter" property would need to be added to JsonTypeInfo and there would be several more
- `if` statements to obtain the converter from either the actual JsonPropertyInfo (for a real property) or from the
- TypeInfo (for the cases mentioned above). In addition, methods that have a JsonPropertyInfo argument would also likely
- need to add an argument for JsonTypeInfo.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.DefaultValueHolder">
- <summary>
- Returns a helper class used for computing the default value.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.NumberHandling">
- <summary>
- Gets or sets the type-level <see cref="P:System.Text.Json.JsonSerializerOptions.NumberHandling"/> override.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.
- </exception>
- <remarks>
- For contracts originating from <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver"/> or <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/>,
- the value of this callback will be mapped from any <see cref="T:System.Text.Json.Serialization.JsonNumberHandling"/> annotations.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonTypeInfo.CreateJsonTypeInfo``1(System.Text.Json.JsonSerializerOptions)">
- <summary>
- Creates a blank <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1"/> instance.
- </summary>
- <typeparam name="T">The type for which contract metadata is specified.</typeparam>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance the metadata is associated with.</param>
- <returns>A blank <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1"/> instance.</returns>
- <exception cref="T:System.ArgumentNullException"><paramref name="options"/> is null.</exception>
- <remarks>
- The returned <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1"/> will be blank, with the exception of the
- <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Converter"/> property which will be resolved either from
- <see cref="P:System.Text.Json.JsonSerializerOptions.Converters"/> or the built-in converters for the type.
- Any converters specified via <see cref="T:System.Text.Json.Serialization.JsonConverterAttribute"/> on the type declaration
- will not be resolved by this method.
-
- What converter does get resolved influences the value of <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Kind"/>,
- which constrains the type of metadata that can be modified in the <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonTypeInfo.CreateJsonTypeInfo(System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Creates a blank <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance.
- </summary>
- <param name="type">The type for which contract metadata is specified.</param>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance the metadata is associated with.</param>
- <returns>A blank <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance.</returns>
- <exception cref="T:System.ArgumentNullException"><paramref name="type"/> or <paramref name="options"/> is null.</exception>
- <exception cref="T:System.ArgumentException"><paramref name="type"/> cannot be used for serialization.</exception>
- <remarks>
- The returned <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> will be blank, with the exception of the
- <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Converter"/> property which will be resolved either from
- <see cref="P:System.Text.Json.JsonSerializerOptions.Converters"/> or the built-in converters for the type.
- Any converters specified via <see cref="T:System.Text.Json.Serialization.JsonConverterAttribute"/> on the type declaration
- will not be resolved by this method.
-
- What converter does get resolved influences the value of <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.Kind"/>,
- which constrains the type of metadata that can be modified in the <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.Metadata.JsonTypeInfo.CreateJsonPropertyInfo(System.Type,System.String)">
- <summary>
- Creates a blank <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance for the current <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/>.
- </summary>
- <param name="propertyType">The declared type for the property.</param>
- <param name="name">The property name used in JSON serialization and deserialization.</param>
- <returns>A blank <see cref="T:System.Text.Json.Serialization.Metadata.JsonPropertyInfo"/> instance.</returns>
- <exception cref="T:System.ArgumentNullException"><paramref name="propertyType"/> or <paramref name="name"/> is null.</exception>
- <exception cref="T:System.ArgumentException"><paramref name="propertyType"/> cannot be used for serialization.</exception>
- <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> instance has been locked for further modification.</exception>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.PolymorphicTypeResolver">
- <summary>
- Validates and indexes polymorphic type configuration,
- providing derived JsonTypeInfo resolution methods
- in both serialization and deserialization scenaria.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.PolymorphicTypeResolver.DerivedJsonTypeInfo">
- <summary>
- Lazy JsonTypeInfo result holder for a derived type.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.Metadata.ReflectionJsonTypeInfo`1">
- <summary>
- Provides JSON serialization-related metadata about a type.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.ConfigurationList`1">
- <summary>
- A list of configuration items that can be locked for modification
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.IAsyncEnumerableConverterFactory">
- <summary>
- Converter for streaming <see cref="T:System.Collections.Generic.IAsyncEnumerable`1" /> values.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonCollectionConverter`2">
- <summary>
- Base class for all collections. Collections are assumed to implement <see cref="T:System.Collections.Generic.IEnumerable`1"/>
- or a variant thereof e.g. <see cref="T:System.Collections.Generic.IAsyncEnumerable`1"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonCollectionConverter`2.CreateCollection(System.Text.Json.Utf8JsonReader@,System.Text.Json.ReadStack@,System.Text.Json.JsonSerializerOptions)">
- <summary>
- When overridden, create the collection. It may be a temporary collection or the final collection.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonDictionaryConverter`1">
- <summary>
- Base class for dictionary converters such as IDictionary, Hashtable, Dictionary{,} IDictionary{,} and SortedList.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonDictionaryConverter`3">
- <summary>
- Base class for dictionary converters such as IDictionary, Hashtable, Dictionary{,} IDictionary{,} and SortedList.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonDictionaryConverter`3.Add(`1,`2@,System.Text.Json.JsonSerializerOptions,System.Text.Json.ReadStack@)">
- <summary>
- When overridden, adds the value to the collection.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonDictionaryConverter`3.ConvertCollection(System.Text.Json.ReadStack@,System.Text.Json.JsonSerializerOptions)">
- <summary>
- When overridden, converts the temporary collection held in state.Current.ReturnValue to the final collection.
- This is used with immutable collections.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonDictionaryConverter`3.CreateCollection(System.Text.Json.Utf8JsonReader@,System.Text.Json.ReadStack@)">
- <summary>
- When overridden, create the collection. It may be a temporary collection or the final collection.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonObjectConverter`1">
- <summary>
- Base class for non-enumerable, non-primitive objects where public properties
- are (de)serialized as a JSON object.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonConverter">
- <summary>
- Converts an object or value to or from JSON.
- </summary>
- <summary>
- Converts an object or value to or from JSON.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.CanConvert(System.Type)">
- <summary>
- Determines whether the type can be converted.
- </summary>
- <param name="typeToConvert">The type is checked as to whether it can be converted.</param>
- <returns>True if the type can be converted, false otherwise.</returns>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter.SupportsCreateObjectDelegate">
- <summary>
- Indicates that the converter can consume the <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.CreateObject"/> delegate.
- Needed because certain collection converters cannot support arbitrary delegates.
- TODO remove once https://github.com/dotnet/runtime/pull/73395/ and
- https://github.com/dotnet/runtime/issues/71944 have been addressed.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter.CanUseDirectReadOrWrite">
- <summary>
- Can direct Read or Write methods be called (for performance).
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter.CanHaveMetadata">
- <summary>
- The converter supports writing and reading metadata.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter.CanBePolymorphic">
- <summary>
- The converter supports polymorphic writes; only reserved for System.Object types.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter.RequiresReadAhead">
- <summary>
- The serializer must read ahead all contents of the next JSON value
- before calling into the converter for deserialization.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.ReadElementAndSetProperty(System.Object,System.String,System.Text.Json.Utf8JsonReader@,System.Text.Json.JsonSerializerOptions,System.Text.Json.ReadStack@)">
- <summary>
- Used to support JsonObject as an extension property in a loosely-typed, trimmable manner.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter.IsValueType">
- <summary>
- Cached value of TypeToConvert.IsValueType, which is an expensive call.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter.IsInternalConverter">
- <summary>
- Whether the converter is built-in.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonConverter.IsInternalConverterForNumberType">
- <summary>
- Whether the converter is built-in and handles a number type.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.ReadCoreAsObject(System.Text.Json.Utf8JsonReader@,System.Text.Json.JsonSerializerOptions,System.Text.Json.ReadStack@)">
- <summary>
- Loosely-typed ReadCore() that forwards to strongly-typed ReadCore().
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.WriteCoreAsObject(System.Text.Json.Utf8JsonWriter,System.Object,System.Text.Json.JsonSerializerOptions,System.Text.Json.WriteStack@)">
- <summary>
- Loosely-typed WriteCore() that forwards to strongly-typed WriteCore().
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.WriteAsPropertyNameCoreAsObject(System.Text.Json.Utf8JsonWriter,System.Object,System.Text.Json.JsonSerializerOptions,System.Boolean)">
- <summary>
- Loosely-typed WriteToPropertyName() that forwards to strongly-typed WriteToPropertyName().
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.ConfigureJsonTypeInfo(System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Used for hooking custom configuration to a newly created associated JsonTypeInfo instance.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.ConfigureJsonTypeInfoUsingReflection(System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Additional reflection-specific configuration required by certain collection converters.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.ResolvePolymorphicConverter(System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Text.Json.JsonSerializerOptions,System.Text.Json.ReadStack@)">
- <summary>
- Initializes the state for polymorphic cases and returns the appropriate derived converter.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.ResolvePolymorphicConverter(System.Object,System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Text.Json.JsonSerializerOptions,System.Text.Json.WriteStack@)">
- <summary>
- Initializes the state for polymorphic cases and returns the appropriate derived converter.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter.SingleValueReadWithReadAhead(System.Boolean,System.Text.Json.Utf8JsonReader@,System.Text.Json.ReadStack@)">
- <summary>
- Perform a Read() and if read-ahead is required, also read-ahead (to the end of the current JSON level).
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonConverterFactory">
- <summary>
- Supports converting several types by using a factory pattern.
- </summary>
- <remarks>
- This is useful for converters supporting generics, such as a converter for <see cref="T:System.Collections.Generic.List`1"/>.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverterFactory.#ctor">
- <summary>
- When overridden, constructs a new <see cref="T:System.Text.Json.Serialization.JsonConverterFactory"/> instance.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverterFactory.CreateConverter(System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Create a converter for the provided <see cref="T:System.Type"/>.
- </summary>
- <param name="typeToConvert">The <see cref="T:System.Type"/> being converted.</param>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> being used.</param>
- <returns>
- An instance of a <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> where T is compatible with <paramref name="typeToConvert"/>.
- If <see langword="null"/> is returned, a <see cref="T:System.NotSupportedException"/> will be thrown.
- </returns>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonConverter`1">
- <summary>
- Converts an object or value to or from JSON.
- </summary>
- <typeparam name="T">The <see cref="T:System.Type"/> to convert.</typeparam>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter`1.#ctor">
- <summary>
- When overridden, constructs a new <see cref="T:System.Text.Json.Serialization.JsonConverter`1"/> instance.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter`1.CanConvert(System.Type)">
- <summary>
- Determines whether the type can be converted.
- </summary>
- <remarks>
- The default implementation is to return True when <paramref name="typeToConvert"/> equals typeof(T).
- </remarks>
- <param name="typeToConvert"></param>
- <returns>True if the type can be converted, False otherwise.</returns>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter`1.SourceConverterForCastingConverter">
- <summary>
- Set if this converter is itself a casting converter.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter`1.HandleNull">
- <summary>
- Indicates whether <see langword="null"/> should be passed to the converter on serialization,
- and whether <see cref="F:System.Text.Json.JsonTokenType.Null"/> should be passed on deserialization.
- </summary>
- <remarks>
- The default value is <see langword="true"/> for converters based on value types, and <see langword="false"/> for converters based on reference types.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter`1.HandleNullOnRead">
- <summary>
- Does the converter want to be called when reading null tokens.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.JsonConverter`1.HandleNullOnWrite">
- <summary>
- Does the converter want to be called for null values.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter`1.Read(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Read and convert the JSON to T.
- </summary>
- <remarks>
- A converter may throw any Exception, but should throw <cref>JsonException</cref> when the JSON is invalid.
- </remarks>
- <param name="reader">The <see cref="T:System.Text.Json.Utf8JsonReader"/> to read from.</param>
- <param name="typeToConvert">The <see cref="T:System.Type"/> being converted.</param>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> being used.</param>
- <returns>The value that was converted.</returns>
- <remarks>Note that the value of <seealso cref="P:System.Text.Json.Serialization.JsonConverter`1.HandleNull"/> determines if the converter handles null JSON tokens.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter`1.IsNull(`0)">
- <summary>
- Performance optimization.
- The 'in' modifier in 'TryWrite(in T Value)' causes boxing for Nullable{T}, so this helper avoids that.
- TODO: Remove this work-around once https://github.com/dotnet/runtime/issues/50915 is addressed.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter`1.Write(System.Text.Json.Utf8JsonWriter,`0,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Write the value as JSON.
- </summary>
- <remarks>
- A converter may throw any Exception, but should throw <cref>JsonException</cref> when the JSON
- cannot be created.
- </remarks>
- <param name="writer">The <see cref="T:System.Text.Json.Utf8JsonWriter"/> to write to.</param>
- <param name="value">The value to convert. Note that the value of <seealso cref="P:System.Text.Json.Serialization.JsonConverter`1.HandleNull"/> determines if the converter handles <see langword="null" /> values.</param>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> being used.</param>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter`1.ReadAsPropertyName(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Reads a dictionary key from a JSON property name.
- </summary>
- <param name="reader">The <see cref="T:System.Text.Json.Utf8JsonReader"/> to read from.</param>
- <param name="typeToConvert">The <see cref="T:System.Type"/> being converted.</param>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> being used.</param>
- <returns>The value that was converted.</returns>
- <remarks>Method should be overridden in custom converters of types used in deserialized dictionary keys.</remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonConverter`1.WriteAsPropertyName(System.Text.Json.Utf8JsonWriter,`0,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Writes a dictionary key as a JSON property name.
- </summary>
- <param name="writer">The <see cref="T:System.Text.Json.Utf8JsonWriter"/> to write to.</param>
- <param name="value">The value to convert. Note that the value of <seealso cref="P:System.Text.Json.Serialization.JsonConverter`1.HandleNull"/> determines if the converter handles <see langword="null" /> values.</param>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> being used.</param>
- <remarks>Method should be overridden in custom converters of types used in serialized dictionary keys.</remarks>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonResumableConverter`1">
- <summary>
- Base class for converters that are able to resume after reading or writing to a buffer.
- This is used when the Stream-based serialization APIs are used.
- </summary>
- <typeparam name="T"></typeparam>
- </member>
- <member name="T:System.Text.Json.Serialization.JsonStringEnumConverter">
- <summary>
- Converter to convert enums to and from strings.
- </summary>
- <remarks>
- Reading is case insensitive, writing can be customized via a <see cref="T:System.Text.Json.JsonNamingPolicy" />.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonStringEnumConverter.#ctor">
- <summary>
- Constructor. Creates the <see cref="T:System.Text.Json.Serialization.JsonStringEnumConverter"/> with the
- default naming policy and allows integer values.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonStringEnumConverter.#ctor(System.Text.Json.JsonNamingPolicy,System.Boolean)">
- <summary>
- Constructor.
- </summary>
- <param name="namingPolicy">
- Optional naming policy for writing enum values.
- </param>
- <param name="allowIntegerValues">
- True to allow undefined enum values. When true, if an enum value isn't
- defined it will output as a number rather than a string.
- </param>
- </member>
- <member name="M:System.Text.Json.Serialization.JsonStringEnumConverter.CanConvert(System.Type)">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.Serialization.JsonStringEnumConverter.CreateConverter(System.Type,System.Text.Json.JsonSerializerOptions)">
- <inheritdoc />
- </member>
- <member name="T:System.Text.Json.Serialization.JsonUnknownTypeHandling">
- <summary>
- Defines how deserializing a type declared as an <see cref="T:System.Object"/> is handled during deserialization.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonUnknownTypeHandling.JsonElement">
- <summary>
- A type declared as <see cref="T:System.Object"/> is deserialized as a <see cref="F:System.Text.Json.Serialization.JsonUnknownTypeHandling.JsonElement"/>.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.JsonUnknownTypeHandling.JsonNode">
- <summary>
- A type declared as <see cref="T:System.Object"/> is deserialized as a <see cref="F:System.Text.Json.Serialization.JsonUnknownTypeHandling.JsonNode"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.PreserveReferenceResolver">
- <summary>
- The default ReferenceResolver implementation to handle duplicate object references.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.ReadBufferState.ReadFromStreamAsync(System.IO.Stream,System.Threading.CancellationToken,System.Boolean)">
- <summary>
- Read from the stream until either our buffer is filled or we hit EOF.
- Calling ReadCore is relatively expensive, so we minimize the number of times
- we need to call it.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.ReadBufferState.ReadFromStream(System.IO.Stream)">
- <summary>
- Read from the stream until either our buffer is filled or we hit EOF.
- Calling ReadCore is relatively expensive, so we minimize the number of times
- we need to call it.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.ReadBufferState.AdvanceBuffer(System.Int32)">
- <summary>
- Advances the buffer in anticipation of a subsequent read operation.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.ReferenceHandler">
- <summary>
- This class defines how the <see cref="T:System.Text.Json.JsonSerializer"/> deals with references on serialization and deserialization.
- </summary>
- </member>
- <member name="F:System.Text.Json.Serialization.ReferenceHandler.HandlingStrategy">
- <summary>
- Indicates whether this ReferenceHandler implementation should use <see cref="F:System.Text.Json.Serialization.ReferenceHandlingStrategy.Preserve"/> semantics or <see cref="F:System.Text.Json.Serialization.ReferenceHandlingStrategy.IgnoreCycles"/> semantics.
- The defualt is Preserve.
- </summary>
- </member>
- <member name="P:System.Text.Json.Serialization.ReferenceHandler.Preserve">
- <summary>
- Metadata properties will be honored when deserializing JSON objects and arrays into reference types and written when serializing reference types. This is necessary to create round-trippable JSON from objects that contain cycles or duplicate references.
- </summary>
- <remarks>
- * On Serialize:
- When writing complex reference types, the serializer also writes metadata properties (`$id`, `$values`, and `$ref`) within them.
- The output JSON will contain an extra `$id` property for every object, and for every enumerable type the JSON array emitted will be nested within a JSON object containing an `$id` and `$values` property.
- <see cref="M:System.Object.ReferenceEquals(System.Object,System.Object)"/> is used to determine whether objects are identical.
- When an object is identical to a previously serialized one, a pointer (`$ref`) to the identifier (`$id`) of such object is written instead.
- No metadata properties are written for value types.
- * On Deserialize:
- The metadata properties within the JSON that are used to preserve duplicated references and cycles will be honored as long as they are well-formed**.
- For JSON objects that don't contain any metadata properties, the deserialization behavior is identical to <see langword="null"/>.
- For value types:
- * The `$id` metadata property is ignored.
- * A <see cref="T:System.Text.Json.JsonException"/> is thrown if a `$ref` metadata property is found within the JSON object.
- * For enumerable value types, the `$values` metadata property is ignored.
- ** For the metadata properties within the JSON to be considered well-formed, they must follow these rules:
- 1) The `$id` metadata property must be the first property in the JSON object.
- 2) A JSON object that contains a `$ref` metadata property must not contain any other properties.
- 3) The value of the `$ref` metadata property must refer to an `$id` that has appeared earlier in the JSON.
- 4) The value of the `$id` and `$ref` metadata properties must be a JSON string.
- 5) For enumerable types, such as <see cref="T:System.Collections.Generic.List`1"/>, the JSON array must be nested within a JSON object containing an `$id` and `$values` metadata property, in that order.
- 6) For enumerable types, the `$values` metadata property must be a JSON array.
- 7) The `$values` metadata property is only valid when referring to enumerable types.
- If the JSON is not well-formed, a <see cref="T:System.Text.Json.JsonException"/> is thrown.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Serialization.ReferenceHandler.IgnoreCycles">
- <summary>
- Ignores an object when a reference cycle is detected during serialization.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.ReferenceHandler.CreateResolver">
- <summary>
- Returns the <see cref="T:System.Text.Json.Serialization.ReferenceResolver"/> used for each serialization call.
- </summary>
- <returns>The resolver to use for serialization and deserialization.</returns>
- </member>
- <member name="M:System.Text.Json.Serialization.ReferenceHandler.CreateResolver(System.Boolean)">
- <summary>
- Optimization for the resolver used when <see cref="P:System.Text.Json.Serialization.ReferenceHandler.Preserve"/> is set in <see cref="P:System.Text.Json.JsonSerializerOptions.ReferenceHandler"/>;
- we pass a flag signaling whether this is called from serialization or deserialization to save one dictionary instantiation.
- </summary>
- </member>
- <member name="T:System.Text.Json.Serialization.ReferenceHandler`1">
- <summary>
- This class defines how the <see cref="T:System.Text.Json.JsonSerializer"/> deals with references on serialization and deserialization.
- </summary>
- <typeparam name="T">The type of the <see cref="T:System.Text.Json.Serialization.ReferenceResolver"/> to create on each serialization or deserialization call.</typeparam>
- </member>
- <member name="M:System.Text.Json.Serialization.ReferenceHandler`1.CreateResolver">
- <summary>
- Creates a new <see cref="T:System.Text.Json.Serialization.ReferenceResolver"/> of type <typeparamref name="T"/> used for each serialization call.
- </summary>
- <returns>The new resolver to use for serialization and deserialization.</returns>
- </member>
- <member name="T:System.Text.Json.Serialization.ReferenceResolver">
- <summary>
- This class defines how the <see cref="T:System.Text.Json.JsonSerializer"/> deals with references on serialization and deserialization.
- Defines the core behavior of preserving references on serialization and deserialization.
- </summary>
- </member>
- <member name="M:System.Text.Json.Serialization.ReferenceResolver.AddReference(System.String,System.Object)">
- <summary>
- Adds an entry to the bag of references using the specified id and value.
- This method gets called when an $id metadata property from a JSON object is read.
- </summary>
- <param name="referenceId">The identifier of the respective JSON object or array.</param>
- <param name="value">The value of the respective CLR reference type object that results from parsing the JSON object.</param>
- </member>
- <member name="M:System.Text.Json.Serialization.ReferenceResolver.GetReference(System.Object,System.Boolean@)">
- <summary>
- Gets the reference identifier of the specified value if exists; otherwise a new id is assigned.
- This method gets called before a CLR object is written so we can decide whether to write $id and enumerate the rest of its properties or $ref and step into the next object.
- </summary>
- <param name="value">The value of the CLR reference type object to get an id for.</param>
- <param name="alreadyExists">When this method returns, <see langword="true"/> if a reference to value already exists; otherwise, <see langword="false"/>.</param>
- <returns>The reference id for the specified object.</returns>
- </member>
- <member name="M:System.Text.Json.Serialization.ReferenceResolver.ResolveReference(System.String)">
- <summary>
- Returns the CLR reference type object related to the specified reference id.
- This method gets called when $ref metadata property is read.
- </summary>
- <param name="referenceId">The reference id related to the returned object.</param>
- <returns>The reference type object related to specified reference id.</returns>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.TryAdd``2(System.Collections.Generic.Dictionary{``0,``1},``0@,``1@)">
- <summary>
- Emulates Dictionary.TryAdd on netstandard.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.StableSortByKey``2(System.Collections.Generic.List{``0},System.Func{``0,``1})">
- <summary>
- Provides an in-place, stable sorting implementation for List.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.GetSpan(System.Text.Json.Utf8JsonReader@)">
- <summary>
- Returns the span for the given reader.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.IsInRangeInclusive(System.UInt32,System.UInt32,System.UInt32)">
- <summary>
- Returns <see langword="true"/> if <paramref name="value"/> is between
- <paramref name="lowerBound"/> and <paramref name="upperBound"/>, inclusive.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.IsInRangeInclusive(System.Int32,System.Int32,System.Int32)">
- <summary>
- Returns <see langword="true"/> if <paramref name="value"/> is between
- <paramref name="lowerBound"/> and <paramref name="upperBound"/>, inclusive.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.IsInRangeInclusive(System.Int64,System.Int64,System.Int64)">
- <summary>
- Returns <see langword="true"/> if <paramref name="value"/> is between
- <paramref name="lowerBound"/> and <paramref name="upperBound"/>, inclusive.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.IsInRangeInclusive(System.Text.Json.JsonTokenType,System.Text.Json.JsonTokenType,System.Text.Json.JsonTokenType)">
- <summary>
- Returns <see langword="true"/> if <paramref name="value"/> is between
- <paramref name="lowerBound"/> and <paramref name="upperBound"/>, inclusive.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.IsDigit(System.Byte)">
- <summary>
- Returns <see langword="true"/> if <paramref name="value"/> is in the range [0..9].
- Otherwise, returns <see langword="false"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.ReadWithVerify(System.Text.Json.Utf8JsonReader@)">
- <summary>
- Perform a Read() with a Debug.Assert verifying the reader did not return false.
- This should be called when the Read() return value is not used, such as non-Stream cases where there is only one buffer.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.Utf8GetString(System.ReadOnlySpan{System.Byte})">
- <summary>
- Calls Encoding.UTF8.GetString that supports netstandard.
- </summary>
- <param name="bytes">The utf8 bytes to convert.</param>
- <returns></returns>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.CreateDictionaryFromCollection``2(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}},System.Collections.Generic.IEqualityComparer{``0})">
- <summary>
- Emulates Dictionary(IEnumerable{KeyValuePair}) on netstandard.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.TryParseAsISO(System.ReadOnlySpan{System.Byte},System.DateTime@)">
- <summary>
- Parse the given UTF-8 <paramref name="source"/> as extended ISO 8601 format.
- </summary>
- <param name="source">UTF-8 source to parse.</param>
- <param name="value">The parsed <see cref="T:System.DateTime"/> if successful.</param>
- <returns>"true" if successfully parsed.</returns>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.TryParseAsISO(System.ReadOnlySpan{System.Byte},System.DateTimeOffset@)">
- <summary>
- Parse the given UTF-8 <paramref name="source"/> as extended ISO 8601 format.
- </summary>
- <param name="source">UTF-8 source to parse.</param>
- <param name="value">The parsed <see cref="T:System.DateTimeOffset"/> if successful.</param>
- <returns>"true" if successfully parsed.</returns>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.TryParseDateTimeOffset(System.ReadOnlySpan{System.Byte},System.Text.Json.JsonHelpers.DateTimeParseData@)">
- <summary>
- ISO 8601 date time parser (ISO 8601-1:2019).
- </summary>
- <param name="source">The date/time to parse in UTF-8 format.</param>
- <param name="parseData">The parsed <see cref="T:System.Text.Json.JsonHelpers.DateTimeParseData"/> for the given <paramref name="source"/>.</param>
- <remarks>
- Supports extended calendar date (5.2.2.1) and complete (5.4.2.1) calendar date/time of day
- representations with optional specification of seconds and fractional seconds.
-
- Times can be explicitly specified as UTC ("Z" - 5.3.3) or offsets from UTC ("+/-hh:mm" 5.3.4.2).
- If unspecified they are considered to be local per spec.
-
- Examples: (TZD is either "Z" or hh:mm offset from UTC)
-
- YYYY-MM-DD (eg 1997-07-16)
- YYYY-MM-DDThh:mm (eg 1997-07-16T19:20)
- YYYY-MM-DDThh:mm:ss (eg 1997-07-16T19:20:30)
- YYYY-MM-DDThh:mm:ss.s (eg 1997-07-16T19:20:30.45)
- YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00)
- YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:3001:00)
- YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45Z)
-
- Generally speaking we always require the "extended" option when one exists (3.1.3.5).
- The extended variants have separator characters between components ('-', ':', '.', etc.).
- Spaces are not permitted.
- </remarks>
- <returns>"true" if successfully parsed.</returns>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.TryCreateDateTimeOffset(System.DateTime,System.Text.Json.JsonHelpers.DateTimeParseData@,System.DateTimeOffset@)">
- <summary>
- Overflow-safe DateTimeOffset factory.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.TryCreateDateTimeOffset(System.Text.Json.JsonHelpers.DateTimeParseData@,System.DateTimeOffset@)">
- <summary>
- Overflow-safe DateTimeOffset factory.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.TryCreateDateTimeOffsetInterpretingDataAsLocalTime(System.Text.Json.JsonHelpers.DateTimeParseData,System.DateTimeOffset@)">
- <summary>
- Overflow-safe DateTimeOffset/Local time conversion factory.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonHelpers.TryCreateDateTime(System.Text.Json.JsonHelpers.DateTimeParseData,System.DateTimeKind,System.DateTime@)">
- <summary>
- Overflow-safe DateTime factory.
- </summary>
- </member>
- <member name="M:System.Text.Json.Reflection.ReflectionExtensions.IsNullableOfT(System.Type)">
- <summary>
- Returns <see langword="true" /> when the given type is of type <see cref="T:System.Nullable`1"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Reflection.ReflectionExtensions.IsAssignableFromInternal(System.Type,System.Type)">
- <summary>
- Returns <see langword="true" /> when the given type is assignable from <paramref name="from"/> including support
- when <paramref name="from"/> is <see cref="T:System.Nullable`1"/> by using the {T} generic parameter for <paramref name="from"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Reflection.ReflectionExtensions.IsInSubtypeRelationshipWith(System.Type,System.Type)">
- <summary>
- Returns <see langword="true" /> when either type is assignable to the other.
- </summary>
- </member>
- <member name="M:System.Text.Json.Reflection.ReflectionExtensions.CreateInstanceNoWrapExceptions(System.Type,System.Type[],System.Object[])">
- <summary>
- Polyfill for BindingFlags.DoNotWrapExceptions
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonDocument">
- <summary>
- Represents the structure of a JSON value in a lightweight, read-only form.
- </summary>
- <remarks>
- This class utilizes resources from pooled memory to minimize the garbage collector (GC)
- impact in high-usage scenarios. Failure to properly Dispose this object will result in
- the memory not being returned to the pool, which will cause an increase in GC impact across
- various parts of the framework.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonDocument.RootElement">
- <summary>
- The <see cref="T:System.Text.Json.JsonElement"/> representing the value of the document.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonDocument.Dispose">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonDocument.WriteTo(System.Text.Json.Utf8JsonWriter)">
- <summary>
- Write the document into the provided writer as a JSON value.
- </summary>
- <param name="writer"></param>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="writer"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- This <see cref="P:System.Text.Json.JsonDocument.RootElement"/>'s <see cref="P:System.Text.Json.JsonElement.ValueKind"/> would result in an invalid JSON.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonDocument.DbRow.Location">
- <summary>
- Index into the payload
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonDocument.DbRow.SizeOrLength">
- <summary>
- length of text in JSON payload (or number of elements if its a JSON array)
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonDocument.DbRow.HasComplexChildren">
- <summary>
- String/PropertyName: Unescaping is required.
- Array: At least one element is an object/array.
- Otherwise; false
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonDocument.MetadataDb.CompleteAllocations">
- <summary>
- If using array pools, trim excess if necessary.
- If not using array pools, release the temporary array pool and alloc.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonDocument.Parse(System.ReadOnlyMemory{System.Byte},System.Text.Json.JsonDocumentOptions)">
- <summary>
- Parse memory as UTF-8-encoded text representing a single JSON value into a JsonDocument.
- </summary>
- <remarks>
- <para>
- The <see cref="T:System.ReadOnlyMemory`1"/> value will be used for the entire lifetime of the
- JsonDocument object, and the caller must ensure that the data therein does not change during
- the object lifetime.
- </para>
-
- <para>
- Because the input is considered to be text, a UTF-8 Byte-Order-Mark (BOM) must not be present.
- </para>
- </remarks>
- <param name="utf8Json">JSON text to parse.</param>
- <param name="options">Options to control the reader behavior during parsing.</param>
- <returns>
- A JsonDocument representation of the JSON value.
- </returns>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="utf8Json"/> does not represent a valid single JSON value.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="options"/> contains unsupported options.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonDocument.Parse(System.Buffers.ReadOnlySequence{System.Byte},System.Text.Json.JsonDocumentOptions)">
- <summary>
- Parse a sequence as UTF-8-encoded text representing a single JSON value into a JsonDocument.
- </summary>
- <remarks>
- <para>
- The <see cref="T:System.Buffers.ReadOnlySequence`1"/> may be used for the entire lifetime of the
- JsonDocument object, and the caller must ensure that the data therein does not change during
- the object lifetime.
- </para>
-
- <para>
- Because the input is considered to be text, a UTF-8 Byte-Order-Mark (BOM) must not be present.
- </para>
- </remarks>
- <param name="utf8Json">JSON text to parse.</param>
- <param name="options">Options to control the reader behavior during parsing.</param>
- <returns>
- A JsonDocument representation of the JSON value.
- </returns>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="utf8Json"/> does not represent a valid single JSON value.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="options"/> contains unsupported options.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonDocument.Parse(System.IO.Stream,System.Text.Json.JsonDocumentOptions)">
- <summary>
- Parse a <see cref="T:System.IO.Stream"/> as UTF-8-encoded data representing a single JSON value into a
- JsonDocument. The Stream will be read to completion.
- </summary>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="options">Options to control the reader behavior during parsing.</param>
- <returns>
- A JsonDocument representation of the JSON value.
- </returns>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="utf8Json"/> does not represent a valid single JSON value.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="options"/> contains unsupported options.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonDocument.ParseAsync(System.IO.Stream,System.Text.Json.JsonDocumentOptions,System.Threading.CancellationToken)">
- <summary>
- Parse a <see cref="T:System.IO.Stream"/> as UTF-8-encoded data representing a single JSON value into a
- JsonDocument. The Stream will be read to completion.
- </summary>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="options">Options to control the reader behavior during parsing.</param>
- <param name="cancellationToken">The token to monitor for cancellation requests.</param>
- <returns>
- A Task to produce a JsonDocument representation of the JSON value.
- </returns>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="utf8Json"/> does not represent a valid single JSON value.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="options"/> contains unsupported options.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonDocument.Parse(System.ReadOnlyMemory{System.Char},System.Text.Json.JsonDocumentOptions)">
- <summary>
- Parses text representing a single JSON value into a JsonDocument.
- </summary>
- <remarks>
- The <see cref="T:System.ReadOnlyMemory`1"/> value may be used for the entire lifetime of the
- JsonDocument object, and the caller must ensure that the data therein does not change during
- the object lifetime.
- </remarks>
- <param name="json">JSON text to parse.</param>
- <param name="options">Options to control the reader behavior during parsing.</param>
- <returns>
- A JsonDocument representation of the JSON value.
- </returns>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="json"/> does not represent a valid single JSON value.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="options"/> contains unsupported options.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonDocument.Parse(System.String,System.Text.Json.JsonDocumentOptions)">
- <summary>
- Parses text representing a single JSON value into a JsonDocument.
- </summary>
- <param name="json">JSON text to parse.</param>
- <param name="options">Options to control the reader behavior during parsing.</param>
- <returns>
- A JsonDocument representation of the JSON value.
- </returns>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="json"/> does not represent a valid single JSON value.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="options"/> contains unsupported options.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonDocument.TryParseValue(System.Text.Json.Utf8JsonReader@,System.Text.Json.JsonDocument@)">
- <summary>
- Attempts to parse one JSON value (including objects or arrays) from the provided reader.
- </summary>
- <param name="reader">The reader to read.</param>
- <param name="document">Receives the parsed document.</param>
- <returns>
- <see langword="true"/> if a value was read and parsed into a JsonDocument,
- <see langword="false"/> if the reader ran out of data while parsing.
- All other situations result in an exception being thrown.
- </returns>
- <remarks>
- <para>
- If the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> property of <paramref name="reader"/>
- is <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or <see cref="F:System.Text.Json.JsonTokenType.None"/>, the
- reader will be advanced by one call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/> to determine
- the start of the value.
- </para>
-
- <para>
- Upon completion of this method, <paramref name="reader"/> will be positioned at the
- final token in the JSON value. If an exception is thrown, or <see langword="false"/>
- is returned, the reader is reset to the state it was in when the method was called.
- </para>
-
- <para>
- This method makes a copy of the data the reader acted on, so there is no caller
- requirement to maintain data integrity beyond the return of this method.
- </para>
- </remarks>
- <exception cref="T:System.ArgumentException">
- <paramref name="reader"/> is using unsupported options.
- </exception>
- <exception cref="T:System.ArgumentException">
- The current <paramref name="reader"/> token does not start or represent a value.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- A value could not be read from the reader.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonDocument.ParseValue(System.Text.Json.Utf8JsonReader@)">
- <summary>
- Parses one JSON value (including objects or arrays) from the provided reader.
- </summary>
- <param name="reader">The reader to read.</param>
- <returns>
- A JsonDocument representing the value (and nested values) read from the reader.
- </returns>
- <remarks>
- <para>
- If the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> property of <paramref name="reader"/>
- is <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or <see cref="F:System.Text.Json.JsonTokenType.None"/>, the
- reader will be advanced by one call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/> to determine
- the start of the value.
- </para>
-
- <para>
- Upon completion of this method, <paramref name="reader"/> will be positioned at the
- final token in the JSON value. If an exception is thrown, the reader is reset to
- the state it was in when the method was called.
- </para>
-
- <para>
- This method makes a copy of the data the reader acted on, so there is no caller
- requirement to maintain data integrity beyond the return of this method.
- </para>
- </remarks>
- <exception cref="T:System.ArgumentException">
- <paramref name="reader"/> is using unsupported options.
- </exception>
- <exception cref="T:System.ArgumentException">
- The current <paramref name="reader"/> token does not start or represent a value.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- A value could not be read from the reader.
- </exception>
- </member>
- <member name="T:System.Text.Json.JsonDocumentOptions">
- <summary>
- Provides the ability for the user to define custom behavior when parsing JSON to create a <see cref="T:System.Text.Json.JsonDocument"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonDocumentOptions.CommentHandling">
- <summary>
- Defines how the <see cref="T:System.Text.Json.Utf8JsonReader"/> should handle comments when reading through the JSON.
- </summary>
- <exception cref="T:System.ArgumentOutOfRangeException">
- Thrown when the comment handling enum is set to a value that is not supported (or not within the <see cref="T:System.Text.Json.JsonCommentHandling"/> enum range).
- </exception>
- <remarks>
- By default <exception cref="T:System.Text.Json.JsonException"/> is thrown if a comment is encountered.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonDocumentOptions.MaxDepth">
- <summary>
- Gets or sets the maximum depth allowed when reading JSON, with the default (i.e. 0) indicating a max depth of 64.
- </summary>
- <exception cref="T:System.ArgumentOutOfRangeException">
- Thrown when the max depth is set to a negative value.
- </exception>
- <remarks>
- Reading past this depth will throw a <exception cref="T:System.Text.Json.JsonException"/>.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonDocumentOptions.AllowTrailingCommas">
- <summary>
- Defines whether an extra comma at the end of a list of JSON values in an object or array
- is allowed (and ignored) within the JSON payload being read.
- </summary>
- <remarks>
- By default, it's set to false, and <exception cref="T:System.Text.Json.JsonException"/> is thrown if a trailing comma is encountered.
- </remarks>
- </member>
- <member name="T:System.Text.Json.JsonElement">
- <summary>
- Represents a specific JSON value within a <see cref="T:System.Text.Json.JsonDocument"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonElement.ArrayEnumerator">
- <summary>
- An enumerable and enumerator for the contents of a JSON array.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonElement.ArrayEnumerator.Current">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ArrayEnumerator.GetEnumerator">
- <summary>
- Returns an enumerator that iterates through a collection.
- </summary>
- <returns>
- An <see cref="T:System.Text.Json.JsonElement.ArrayEnumerator"/> value that can be used to iterate
- through the array.
- </returns>
- </member>
- <member name="M:System.Text.Json.JsonElement.ArrayEnumerator.System#Collections#IEnumerable#GetEnumerator">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ArrayEnumerator.System#Collections#Generic#IEnumerable{System#Text#Json#JsonElement}#GetEnumerator">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ArrayEnumerator.Dispose">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ArrayEnumerator.Reset">
- <inheritdoc />
- </member>
- <member name="P:System.Text.Json.JsonElement.ArrayEnumerator.System#Collections#IEnumerator#Current">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ArrayEnumerator.MoveNext">
- <inheritdoc />
- </member>
- <member name="P:System.Text.Json.JsonElement.ValueKind">
- <summary>
- The <see cref="T:System.Text.Json.JsonValueKind"/> that the value is.
- </summary>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonElement.Item(System.Int32)">
- <summary>
- Get the value at a specified index when the current value is a
- <see cref="F:System.Text.Json.JsonValueKind.Array"/>.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Array"/>.
- </exception>
- <exception cref="T:System.IndexOutOfRangeException">
- <paramref name="index"/> is not in the range [0, <see cref="M:System.Text.Json.JsonElement.GetArrayLength"/>()).
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetArrayLength">
- <summary>
- Get the number of values contained within the current array value.
- </summary>
- <returns>The number of values contained within the current array value.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Array"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetProperty(System.String)">
- <summary>
- Gets a <see cref="T:System.Text.Json.JsonElement"/> representing the value of a required property identified
- by <paramref name="propertyName"/>.
- </summary>
- <remarks>
- Property name matching is performed as an ordinal, case-sensitive, comparison.
-
- If a property is defined multiple times for the same object, the last such definition is
- what is matched.
- </remarks>
- <param name="propertyName">Name of the property whose value to return.</param>
- <returns>
- A <see cref="T:System.Text.Json.JsonElement"/> representing the value of the requested property.
- </returns>
- <seealso cref="M:System.Text.Json.JsonElement.EnumerateObject"/>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Object"/>.
- </exception>
- <exception cref="T:System.Collections.Generic.KeyNotFoundException">
- No property was found with the requested name.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="propertyName"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetProperty(System.ReadOnlySpan{System.Char})">
- <summary>
- Gets a <see cref="T:System.Text.Json.JsonElement"/> representing the value of a required property identified
- by <paramref name="propertyName"/>.
- </summary>
- <remarks>
- <para>
- Property name matching is performed as an ordinal, case-sensitive, comparison.
- </para>
-
- <para>
- If a property is defined multiple times for the same object, the last such definition is
- what is matched.
- </para>
- </remarks>
- <param name="propertyName">Name of the property whose value to return.</param>
- <returns>
- A <see cref="T:System.Text.Json.JsonElement"/> representing the value of the requested property.
- </returns>
- <seealso cref="M:System.Text.Json.JsonElement.EnumerateObject"/>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Object"/>.
- </exception>
- <exception cref="T:System.Collections.Generic.KeyNotFoundException">
- No property was found with the requested name.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetProperty(System.ReadOnlySpan{System.Byte})">
- <summary>
- Gets a <see cref="T:System.Text.Json.JsonElement"/> representing the value of a required property identified
- by <paramref name="utf8PropertyName"/>.
- </summary>
- <remarks>
- <para>
- Property name matching is performed as an ordinal, case-sensitive, comparison.
- </para>
-
- <para>
- If a property is defined multiple times for the same object, the last such definition is
- what is matched.
- </para>
- </remarks>
- <param name="utf8PropertyName">
- The UTF-8 (with no Byte-Order-Mark (BOM)) representation of the name of the property to return.
- </param>
- <returns>
- A <see cref="T:System.Text.Json.JsonElement"/> representing the value of the requested property.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Object"/>.
- </exception>
- <exception cref="T:System.Collections.Generic.KeyNotFoundException">
- No property was found with the requested name.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- <seealso cref="M:System.Text.Json.JsonElement.EnumerateObject"/>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetProperty(System.String,System.Text.Json.JsonElement@)">
- <summary>
- Looks for a property named <paramref name="propertyName"/> in the current object, returning
- whether or not such a property existed. When the property exists <paramref name="value"/>
- is assigned to the value of that property.
- </summary>
- <remarks>
- <para>
- Property name matching is performed as an ordinal, case-sensitive, comparison.
- </para>
-
- <para>
- If a property is defined multiple times for the same object, the last such definition is
- what is matched.
- </para>
- </remarks>
- <param name="propertyName">Name of the property to find.</param>
- <param name="value">Receives the value of the located property.</param>
- <returns>
- <see langword="true"/> if the property was found, <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Object"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="propertyName"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- <seealso cref="M:System.Text.Json.JsonElement.EnumerateObject"/>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetProperty(System.ReadOnlySpan{System.Char},System.Text.Json.JsonElement@)">
- <summary>
- Looks for a property named <paramref name="propertyName"/> in the current object, returning
- whether or not such a property existed. When the property exists <paramref name="value"/>
- is assigned to the value of that property.
- </summary>
- <remarks>
- <para>
- Property name matching is performed as an ordinal, case-sensitive, comparison.
- </para>
-
- <para>
- If a property is defined multiple times for the same object, the last such definition is
- what is matched.
- </para>
- </remarks>
- <param name="propertyName">Name of the property to find.</param>
- <param name="value">Receives the value of the located property.</param>
- <returns>
- <see langword="true"/> if the property was found, <see langword="false"/> otherwise.
- </returns>
- <seealso cref="M:System.Text.Json.JsonElement.EnumerateObject"/>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Object"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetProperty(System.ReadOnlySpan{System.Byte},System.Text.Json.JsonElement@)">
- <summary>
- Looks for a property named <paramref name="utf8PropertyName"/> in the current object, returning
- whether or not such a property existed. When the property exists <paramref name="value"/>
- is assigned to the value of that property.
- </summary>
- <remarks>
- <para>
- Property name matching is performed as an ordinal, case-sensitive, comparison.
- </para>
-
- <para>
- If a property is defined multiple times for the same object, the last such definition is
- what is matched.
- </para>
- </remarks>
- <param name="utf8PropertyName">
- The UTF-8 (with no Byte-Order-Mark (BOM)) representation of the name of the property to return.
- </param>
- <param name="value">Receives the value of the located property.</param>
- <returns>
- <see langword="true"/> if the property was found, <see langword="false"/> otherwise.
- </returns>
- <seealso cref="M:System.Text.Json.JsonElement.EnumerateObject"/>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Object"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetBoolean">
- <summary>
- Gets the value of the element as a <see cref="T:System.Boolean"/>.
- </summary>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>The value of the element as a <see cref="T:System.Boolean"/>.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is neither <see cref="F:System.Text.Json.JsonValueKind.True"/> or
- <see cref="F:System.Text.Json.JsonValueKind.False"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetString">
- <summary>
- Gets the value of the element as a <see cref="T:System.String"/>.
- </summary>
- <remarks>
- This method does not create a string representation of values other than JSON strings.
- </remarks>
- <returns>The value of the element as a <see cref="T:System.String"/>.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is neither <see cref="F:System.Text.Json.JsonValueKind.String"/> nor <see cref="F:System.Text.Json.JsonValueKind.Null"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- <seealso cref="M:System.Text.Json.JsonElement.ToString"/>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetBytesFromBase64(System.Byte[]@)">
- <summary>
- Attempts to represent the current JSON string as bytes assuming it is Base64 encoded.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not create a byte[] representation of values other than base 64 encoded JSON strings.
- </remarks>
- <returns>
- <see langword="true"/> if the entire token value is encoded as valid Base64 text and can be successfully decoded to bytes.
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetBytesFromBase64">
- <summary>
- Gets the value of the element as bytes.
- </summary>
- <remarks>
- This method does not create a byte[] representation of values other than Base64 encoded JSON strings.
- </remarks>
- <returns>The value decode to bytes.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value is not encoded as Base64 text and hence cannot be decoded to bytes.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- <seealso cref="M:System.Text.Json.JsonElement.ToString"/>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetSByte(System.SByte@)">
- <summary>
- Attempts to represent the current JSON number as an <see cref="T:System.SByte"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as an <see cref="T:System.SByte"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetSByte">
- <summary>
- Gets the current JSON number as an <see cref="T:System.SByte"/>.
- </summary>
- <returns>The current JSON number as an <see cref="T:System.SByte"/>.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as an <see cref="T:System.SByte"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetByte(System.Byte@)">
- <summary>
- Attempts to represent the current JSON number as a <see cref="T:System.Byte"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as a <see cref="T:System.Byte"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetByte">
- <summary>
- Gets the current JSON number as a <see cref="T:System.Byte"/>.
- </summary>
- <returns>The current JSON number as a <see cref="T:System.Byte"/>.</returns>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.Byte"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetInt16(System.Int16@)">
- <summary>
- Attempts to represent the current JSON number as an <see cref="T:System.Int16"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as an <see cref="T:System.Int16"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetInt16">
- <summary>
- Gets the current JSON number as an <see cref="T:System.Int16"/>.
- </summary>
- <returns>The current JSON number as an <see cref="T:System.Int16"/>.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as an <see cref="T:System.Int16"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetUInt16(System.UInt16@)">
- <summary>
- Attempts to represent the current JSON number as a <see cref="T:System.UInt16"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as a <see cref="T:System.UInt16"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetUInt16">
- <summary>
- Gets the current JSON number as a <see cref="T:System.UInt16"/>.
- </summary>
- <returns>The current JSON number as a <see cref="T:System.UInt16"/>.</returns>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.UInt16"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetInt32(System.Int32@)">
- <summary>
- Attempts to represent the current JSON number as an <see cref="T:System.Int32"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as an <see cref="T:System.Int32"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetInt32">
- <summary>
- Gets the current JSON number as an <see cref="T:System.Int32"/>.
- </summary>
- <returns>The current JSON number as an <see cref="T:System.Int32"/>.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as an <see cref="T:System.Int32"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetUInt32(System.UInt32@)">
- <summary>
- Attempts to represent the current JSON number as a <see cref="T:System.UInt32"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as a <see cref="T:System.UInt32"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetUInt32">
- <summary>
- Gets the current JSON number as a <see cref="T:System.UInt32"/>.
- </summary>
- <returns>The current JSON number as a <see cref="T:System.UInt32"/>.</returns>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.UInt32"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetInt64(System.Int64@)">
- <summary>
- Attempts to represent the current JSON number as a <see cref="T:System.Int64"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as a <see cref="T:System.Int64"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetInt64">
- <summary>
- Gets the current JSON number as a <see cref="T:System.Int64"/>.
- </summary>
- <returns>The current JSON number as a <see cref="T:System.Int64"/>.</returns>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.Int64"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetUInt64(System.UInt64@)">
- <summary>
- Attempts to represent the current JSON number as a <see cref="T:System.UInt64"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as a <see cref="T:System.UInt64"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetUInt64">
- <summary>
- Gets the current JSON number as a <see cref="T:System.UInt64"/>.
- </summary>
- <returns>The current JSON number as a <see cref="T:System.UInt64"/>.</returns>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.UInt64"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetDouble(System.Double@)">
- <summary>
- Attempts to represent the current JSON number as a <see cref="T:System.Double"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- <para>
- This method does not parse the contents of a JSON string value.
- </para>
-
- <para>
- On .NET Core this method does not return <see langword="false"/> for values larger than
- <see cref="F:System.Double.MaxValue"/> (or smaller than <see cref="F:System.Double.MinValue"/>),
- instead <see langword="true"/> is returned and <see cref="F:System.Double.PositiveInfinity"/> (or
- <see cref="F:System.Double.NegativeInfinity"/>) is emitted.
- </para>
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as a <see cref="T:System.Double"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetDouble">
- <summary>
- Gets the current JSON number as a <see cref="T:System.Double"/>.
- </summary>
- <returns>The current JSON number as a <see cref="T:System.Double"/>.</returns>
- <remarks>
- <para>
- This method does not parse the contents of a JSON string value.
- </para>
-
- <para>
- On .NET Core this method returns <see cref="F:System.Double.PositiveInfinity"/> (or
- <see cref="F:System.Double.NegativeInfinity"/>) for values larger than
- <see cref="F:System.Double.MaxValue"/> (or smaller than <see cref="F:System.Double.MinValue"/>).
- </para>
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.Double"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetSingle(System.Single@)">
- <summary>
- Attempts to represent the current JSON number as a <see cref="T:System.Single"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- <para>
- This method does not parse the contents of a JSON string value.
- </para>
-
- <para>
- On .NET Core this method does not return <see langword="false"/> for values larger than
- <see cref="F:System.Single.MaxValue"/> (or smaller than <see cref="F:System.Single.MinValue"/>),
- instead <see langword="true"/> is returned and <see cref="F:System.Single.PositiveInfinity"/> (or
- <see cref="F:System.Single.NegativeInfinity"/>) is emitted.
- </para>
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as a <see cref="T:System.Single"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetSingle">
- <summary>
- Gets the current JSON number as a <see cref="T:System.Single"/>.
- </summary>
- <returns>The current JSON number as a <see cref="T:System.Single"/>.</returns>
- <remarks>
- <para>
- This method does not parse the contents of a JSON string value.
- </para>
-
- <para>
- On .NET Core this method returns <see cref="F:System.Single.PositiveInfinity"/> (or
- <see cref="F:System.Single.NegativeInfinity"/>) for values larger than
- <see cref="F:System.Single.MaxValue"/> (or smaller than <see cref="F:System.Single.MinValue"/>).
- </para>
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.Single"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetDecimal(System.Decimal@)">
- <summary>
- Attempts to represent the current JSON number as a <see cref="T:System.Decimal"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <returns>
- <see langword="true"/> if the number can be represented as a <see cref="T:System.Decimal"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- <seealso cref="M:System.Text.Json.JsonElement.GetRawText"/>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetDecimal">
- <summary>
- Gets the current JSON number as a <see cref="T:System.Decimal"/>.
- </summary>
- <returns>The current JSON number as a <see cref="T:System.Decimal"/>.</returns>
- <remarks>
- This method does not parse the contents of a JSON string value.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Number"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.Decimal"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- <seealso cref="M:System.Text.Json.JsonElement.GetRawText"/>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetDateTime(System.DateTime@)">
- <summary>
- Attempts to represent the current JSON string as a <see cref="T:System.DateTime"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not create a DateTime representation of values other than JSON strings.
- </remarks>
- <returns>
- <see langword="true"/> if the string can be represented as a <see cref="T:System.DateTime"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetDateTime">
- <summary>
- Gets the value of the element as a <see cref="T:System.DateTime"/>.
- </summary>
- <remarks>
- This method does not create a DateTime representation of values other than JSON strings.
- </remarks>
- <returns>The value of the element as a <see cref="T:System.DateTime"/>.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.DateTime"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- <seealso cref="M:System.Text.Json.JsonElement.ToString"/>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetDateTimeOffset(System.DateTimeOffset@)">
- <summary>
- Attempts to represent the current JSON string as a <see cref="T:System.DateTimeOffset"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not create a DateTimeOffset representation of values other than JSON strings.
- </remarks>
- <returns>
- <see langword="true"/> if the string can be represented as a <see cref="T:System.DateTimeOffset"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetDateTimeOffset">
- <summary>
- Gets the value of the element as a <see cref="T:System.DateTimeOffset"/>.
- </summary>
- <remarks>
- This method does not create a DateTimeOffset representation of values other than JSON strings.
- </remarks>
- <returns>The value of the element as a <see cref="T:System.DateTimeOffset"/>.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.DateTimeOffset"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- <seealso cref="M:System.Text.Json.JsonElement.ToString"/>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryGetGuid(System.Guid@)">
- <summary>
- Attempts to represent the current JSON string as a <see cref="T:System.Guid"/>.
- </summary>
- <param name="value">Receives the value.</param>
- <remarks>
- This method does not create a Guid representation of values other than JSON strings.
- </remarks>
- <returns>
- <see langword="true"/> if the string can be represented as a <see cref="T:System.Guid"/>,
- <see langword="false"/> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetGuid">
- <summary>
- Gets the value of the element as a <see cref="T:System.Guid"/>.
- </summary>
- <remarks>
- This method does not create a Guid representation of values other than JSON strings.
- </remarks>
- <returns>The value of the element as a <see cref="T:System.Guid"/>.</returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <exception cref="T:System.FormatException">
- The value cannot be represented as a <see cref="T:System.Guid"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- <seealso cref="M:System.Text.Json.JsonElement.ToString"/>
- </member>
- <member name="M:System.Text.Json.JsonElement.GetRawText">
- <summary>
- Gets the original input data backing this value, returning it as a <see cref="T:System.String"/>.
- </summary>
- <returns>
- The original input data backing this value, returning it as a <see cref="T:System.String"/>.
- </returns>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.ValueEquals(System.String)">
- <summary>
- Compares <paramref name="text" /> to the string value of this element.
- </summary>
- <param name="text">The text to compare against.</param>
- <returns>
- <see langword="true" /> if the string value of this element matches <paramref name="text"/>,
- <see langword="false" /> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <remarks>
- This method is functionally equal to doing an ordinal comparison of <paramref name="text" /> and
- the result of calling <see cref="M:System.Text.Json.JsonElement.GetString" />, but avoids creating the string instance.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonElement.ValueEquals(System.ReadOnlySpan{System.Byte})">
- <summary>
- Compares the text represented by <paramref name="utf8Text" /> to the string value of this element.
- </summary>
- <param name="utf8Text">The UTF-8 encoded text to compare against.</param>
- <returns>
- <see langword="true" /> if the string value of this element has the same UTF-8 encoding as
- <paramref name="utf8Text" />, <see langword="false" /> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <remarks>
- This method is functionally equal to doing an ordinal comparison of the string produced by UTF-8 decoding
- <paramref name="utf8Text" /> with the result of calling <see cref="M:System.Text.Json.JsonElement.GetString" />, but avoids creating the
- string instances.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonElement.ValueEquals(System.ReadOnlySpan{System.Char})">
- <summary>
- Compares <paramref name="text" /> to the string value of this element.
- </summary>
- <param name="text">The text to compare against.</param>
- <returns>
- <see langword="true" /> if the string value of this element matches <paramref name="text"/>,
- <see langword="false" /> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.String"/>.
- </exception>
- <remarks>
- This method is functionally equal to doing an ordinal comparison of <paramref name="text" /> and
- the result of calling <see cref="M:System.Text.Json.JsonElement.GetString" />, but avoids creating the string instance.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonElement.WriteTo(System.Text.Json.Utf8JsonWriter)">
- <summary>
- Write the element into the provided writer as a JSON value.
- </summary>
- <param name="writer">The writer.</param>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="writer"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is <see cref="F:System.Text.Json.JsonValueKind.Undefined"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.EnumerateArray">
- <summary>
- Get an enumerator to enumerate the values in the JSON array represented by this JsonElement.
- </summary>
- <returns>
- An enumerator to enumerate the values in the JSON array represented by this JsonElement.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Array"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.EnumerateObject">
- <summary>
- Get an enumerator to enumerate the properties in the JSON object represented by this JsonElement.
- </summary>
- <returns>
- An enumerator to enumerate the properties in the JSON object represented by this JsonElement.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="P:System.Text.Json.JsonElement.ValueKind"/> is not <see cref="F:System.Text.Json.JsonValueKind.Object"/>.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.ToString">
- <summary>
- Gets a string representation for the current value appropriate to the value type.
- </summary>
- <remarks>
- <para>
- For JsonElement built from <see cref="T:System.Text.Json.JsonDocument"/>:
- </para>
-
- <para>
- For <see cref="F:System.Text.Json.JsonValueKind.Null"/>, <see cref="F:System.String.Empty"/> is returned.
- </para>
-
- <para>
- For <see cref="F:System.Text.Json.JsonValueKind.True"/>, <see cref="F:System.Boolean.TrueString"/> is returned.
- </para>
-
- <para>
- For <see cref="F:System.Text.Json.JsonValueKind.False"/>, <see cref="F:System.Boolean.FalseString"/> is returned.
- </para>
-
- <para>
- For <see cref="F:System.Text.Json.JsonValueKind.String"/>, the value of <see cref="M:System.Text.Json.JsonElement.GetString"/>() is returned.
- </para>
-
- <para>
- For other types, the value of <see cref="M:System.Text.Json.JsonElement.GetRawText"/>() is returned.
- </para>
- </remarks>
- <returns>
- A string representation for the current value appropriate to the value type.
- </returns>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.Clone">
- <summary>
- Get a JsonElement which can be safely stored beyond the lifetime of the
- original <see cref="T:System.Text.Json.JsonDocument"/>.
- </summary>
- <returns>
- A JsonElement which can be safely stored beyond the lifetime of the
- original <see cref="T:System.Text.Json.JsonDocument"/>.
- </returns>
- <remarks>
- <para>
- If this JsonElement is itself the output of a previous call to Clone, or
- a value contained within another JsonElement which was the output of a previous
- call to Clone, this method results in no additional memory allocation.
- </para>
- </remarks>
- </member>
- <member name="T:System.Text.Json.JsonElement.ObjectEnumerator">
- <summary>
- An enumerable and enumerator for the properties of a JSON object.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonElement.ObjectEnumerator.Current">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ObjectEnumerator.GetEnumerator">
- <summary>
- Returns an enumerator that iterates the properties of an object.
- </summary>
- <returns>
- An <see cref="T:System.Text.Json.JsonElement.ObjectEnumerator"/> value that can be used to iterate
- through the object.
- </returns>
- <remarks>
- The enumerator will enumerate the properties in the order they are
- declared, and when an object has multiple definitions of a single
- property they will all individually be returned (each in the order
- they appear in the content).
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonElement.ObjectEnumerator.System#Collections#IEnumerable#GetEnumerator">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ObjectEnumerator.System#Collections#Generic#IEnumerable{System#Text#Json#JsonProperty}#GetEnumerator">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ObjectEnumerator.Dispose">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ObjectEnumerator.Reset">
- <inheritdoc />
- </member>
- <member name="P:System.Text.Json.JsonElement.ObjectEnumerator.System#Collections#IEnumerator#Current">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ObjectEnumerator.MoveNext">
- <inheritdoc />
- </member>
- <member name="M:System.Text.Json.JsonElement.ParseValue(System.Text.Json.Utf8JsonReader@)">
- <summary>
- Parses one JSON value (including objects or arrays) from the provided reader.
- </summary>
- <param name="reader">The reader to read.</param>
- <returns>
- A JsonElement representing the value (and nested values) read from the reader.
- </returns>
- <remarks>
- <para>
- If the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> property of <paramref name="reader"/>
- is <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or <see cref="F:System.Text.Json.JsonTokenType.None"/>, the
- reader will be advanced by one call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/> to determine
- the start of the value.
- </para>
-
- <para>
- Upon completion of this method, <paramref name="reader"/> will be positioned at the
- final token in the JSON value. If an exception is thrown, the reader is reset to
- the state it was in when the method was called.
- </para>
-
- <para>
- This method makes a copy of the data the reader acted on, so there is no caller
- requirement to maintain data integrity beyond the return of this method.
- </para>
- </remarks>
- <exception cref="T:System.ArgumentException">
- <paramref name="reader"/> is using unsupported options.
- </exception>
- <exception cref="T:System.ArgumentException">
- The current <paramref name="reader"/> token does not start or represent a value.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- A value could not be read from the reader.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonElement.TryParseValue(System.Text.Json.Utf8JsonReader@,System.Nullable{System.Text.Json.JsonElement}@)">
- <summary>
- Attempts to parse one JSON value (including objects or arrays) from the provided reader.
- </summary>
- <param name="reader">The reader to read.</param>
- <param name="element">Receives the parsed element.</param>
- <returns>
- <see langword="true"/> if a value was read and parsed into a JsonElement;
- <see langword="false"/> if the reader ran out of data while parsing.
- All other situations result in an exception being thrown.
- </returns>
- <remarks>
- <para>
- If the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> property of <paramref name="reader"/>
- is <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or <see cref="F:System.Text.Json.JsonTokenType.None"/>, the
- reader will be advanced by one call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/> to determine
- the start of the value.
- </para>
-
- <para>
- Upon completion of this method, <paramref name="reader"/> will be positioned at the
- final token in the JSON value. If an exception is thrown, or <see langword="false"/>
- is returned, the reader is reset to the state it was in when the method was called.
- </para>
-
- <para>
- This method makes a copy of the data the reader acted on, so there is no caller
- requirement to maintain data integrity beyond the return of this method.
- </para>
- </remarks>
- <exception cref="T:System.ArgumentException">
- <paramref name="reader"/> is using unsupported options.
- </exception>
- <exception cref="T:System.ArgumentException">
- The current <paramref name="reader"/> token does not start or represent a value.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- A value could not be read from the reader.
- </exception>
- </member>
- <member name="T:System.Text.Json.JsonProperty">
- <summary>
- Represents a single property for a JSON object.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonProperty.Value">
- <summary>
- The value of this property.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonProperty.Name">
- <summary>
- The name of this property.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonProperty.NameEquals(System.String)">
- <summary>
- Compares <paramref name="text" /> to the name of this property.
- </summary>
- <param name="text">The text to compare against.</param>
- <returns>
- <see langword="true" /> if the name of this property matches <paramref name="text"/>,
- <see langword="false" /> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="T:System.Type"/> is not <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/>.
- </exception>
- <remarks>
- This method is functionally equal to doing an ordinal comparison of <paramref name="text" /> and
- <see cref="P:System.Text.Json.JsonProperty.Name" />, but can avoid creating the string instance.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonProperty.NameEquals(System.ReadOnlySpan{System.Byte})">
- <summary>
- Compares the text represented by <paramref name="utf8Text" /> to the name of this property.
- </summary>
- <param name="utf8Text">The UTF-8 encoded text to compare against.</param>
- <returns>
- <see langword="true" /> if the name of this property has the same UTF-8 encoding as
- <paramref name="utf8Text" />, <see langword="false" /> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="T:System.Type"/> is not <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/>.
- </exception>
- <remarks>
- This method is functionally equal to doing an ordinal comparison of <paramref name="utf8Text" /> and
- <see cref="P:System.Text.Json.JsonProperty.Name" />, but can avoid creating the string instance.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonProperty.NameEquals(System.ReadOnlySpan{System.Char})">
- <summary>
- Compares <paramref name="text" /> to the name of this property.
- </summary>
- <param name="text">The text to compare against.</param>
- <returns>
- <see langword="true" /> if the name of this property matches <paramref name="text"/>,
- <see langword="false" /> otherwise.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- This value's <see cref="T:System.Type"/> is not <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/>.
- </exception>
- <remarks>
- This method is functionally equal to doing an ordinal comparison of <paramref name="text" /> and
- <see cref="P:System.Text.Json.JsonProperty.Name" />, but can avoid creating the string instance.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonProperty.WriteTo(System.Text.Json.Utf8JsonWriter)">
- <summary>
- Write the property into the provided writer as a named JSON object property.
- </summary>
- <param name="writer">The writer.</param>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="writer"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.ArgumentException">
- This <see cref="P:System.Text.Json.JsonProperty.Name"/>'s length is too large to be a JSON object property.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- This <see cref="P:System.Text.Json.JsonProperty.Value"/>'s <see cref="P:System.Text.Json.JsonElement.ValueKind"/> would result in an invalid JSON.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The parent <see cref="T:System.Text.Json.JsonDocument"/> has been disposed.
- </exception>>
- </member>
- <member name="M:System.Text.Json.JsonProperty.ToString">
- <summary>
- Provides a <see cref="T:System.String"/> representation of the property for
- debugging purposes.
- </summary>
- <returns>
- A string containing the un-interpreted value of the property, beginning
- at the declaring open-quote and ending at the last character that is part of
- the value.
- </returns>
- </member>
- <member name="T:System.Text.Json.JsonValueKind">
- <summary>
- Specifies the data type of a JSON value.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonValueKind.Undefined">
- <summary>
- Indicates that there is no value (as distinct from <see cref="F:System.Text.Json.JsonValueKind.Null"/>).
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonValueKind.Object">
- <summary>
- Indicates that a value is a JSON object.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonValueKind.Array">
- <summary>
- Indicates that a value is a JSON array.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonValueKind.String">
- <summary>
- Indicates that a value is a JSON string.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonValueKind.Number">
- <summary>
- Indicates that a value is a JSON number.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonValueKind.True">
- <summary>
- Indicates that a value is the JSON value <c>true</c>.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonValueKind.False">
- <summary>
- Indicates that a value is the JSON value <c>false</c>.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonValueKind.Null">
- <summary>
- Indicates that a value is the JSON value <c>null</c>.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonCommentHandling">
- <summary>
- This enum defines the various ways the <see cref="T:System.Text.Json.Utf8JsonReader"/> can deal with comments.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonCommentHandling.Disallow">
- <summary>
- By default, do no allow comments within the JSON input.
- Comments are treated as invalid JSON if found and a
- <see cref="T:System.Text.Json.JsonException"/> is thrown.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonCommentHandling.Skip">
- <summary>
- Allow comments within the JSON input and ignore them.
- The <see cref="T:System.Text.Json.Utf8JsonReader"/> will behave as if no comments were present.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonCommentHandling.Allow">
- <summary>
- Allow comments within the JSON input and treat them as valid tokens.
- While reading, the caller will be able to access the comment values.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonEncodedText">
- <summary>
- Provides a way to transform UTF-8 or UTF-16 encoded text into a form that is suitable for JSON.
- </summary>
- <remarks>
- This can be used to cache and store known strings used for writing JSON ahead of time by pre-encoding them up front.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonEncodedText.EncodedUtf8Bytes">
- <summary>
- Returns the UTF-8 encoded representation of the pre-encoded JSON text.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonEncodedText.Encode(System.String,System.Text.Encodings.Web.JavaScriptEncoder)">
- <summary>
- Encodes the string text value as a JSON string.
- </summary>
- <param name="value">The value to be transformed as JSON encoded text.</param>
- <param name="encoder">The encoder to use when escaping the string, or <see langword="null" /> to use the default encoder.</param>
- <exception cref="T:System.ArgumentNullException">
- Thrown if value is null.
- </exception>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large or if it contains invalid UTF-16 characters.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonEncodedText.Encode(System.ReadOnlySpan{System.Char},System.Text.Encodings.Web.JavaScriptEncoder)">
- <summary>
- Encodes the text value as a JSON string.
- </summary>
- <param name="value">The value to be transformed as JSON encoded text.</param>
- <param name="encoder">The encoder to use when escaping the string, or <see langword="null" /> to use the default encoder.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large or if it contains invalid UTF-16 characters.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonEncodedText.Encode(System.ReadOnlySpan{System.Byte},System.Text.Encodings.Web.JavaScriptEncoder)">
- <summary>
- Encodes the UTF-8 text value as a JSON string.
- </summary>
- <param name="utf8Value">The UTF-8 encoded value to be transformed as JSON encoded text.</param>
- <param name="encoder">The encoder to use when escaping the string, or <see langword="null" /> to use the default encoder.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large or if it contains invalid UTF-8 bytes.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonEncodedText.Equals(System.Text.Json.JsonEncodedText)">
- <summary>
- Determines whether this instance and another specified <see cref="T:System.Text.Json.JsonEncodedText"/> instance have the same value.
- </summary>
- <remarks>
- Default instances of <see cref="T:System.Text.Json.JsonEncodedText"/> are treated as equal.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonEncodedText.Equals(System.Object)">
- <summary>
- Determines whether this instance and a specified object, which must also be a <see cref="T:System.Text.Json.JsonEncodedText"/> instance, have the same value.
- </summary>
- <remarks>
- If <paramref name="obj"/> is null, the method returns false.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonEncodedText.ToString">
- <summary>
- Converts the value of this instance to a <see cref="T:System.String"/>.
- </summary>
- <remarks>
- Returns an empty string on a default instance of <see cref="T:System.Text.Json.JsonEncodedText"/>.
- </remarks>
- <returns>
- Returns the underlying UTF-16 encoded string.
- </returns>
- </member>
- <member name="M:System.Text.Json.JsonEncodedText.GetHashCode">
- <summary>
- Returns the hash code for this <see cref="T:System.Text.Json.JsonEncodedText"/>.
- </summary>
- <remarks>
- Returns 0 on a default instance of <see cref="T:System.Text.Json.JsonEncodedText"/>.
- </remarks>
- </member>
- <member name="T:System.Text.Json.JsonException">
- <summary>
- Defines a custom exception object that is thrown when invalid JSON text is encountered, when the defined maximum depth is passed,
- or the JSON text is not compatible with the type of a property on an object.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonException.#ctor(System.String,System.String,System.Nullable{System.Int64},System.Nullable{System.Int64},System.Exception)">
- <summary>
- Creates a new exception object to relay error information to the user.
- </summary>
- <param name="message">The context specific error message.</param>
- <param name="lineNumber">The line number at which the invalid JSON was encountered (starting at 0) when deserializing.</param>
- <param name="bytePositionInLine">The byte count within the current line where the invalid JSON was encountered (starting at 0).</param>
- <param name="path">The path where the invalid JSON was encountered.</param>
- <param name="innerException">The exception that caused the current exception.</param>
- <remarks>
- Note that the <paramref name="bytePositionInLine"/> counts the number of bytes (i.e. UTF-8 code units) and not characters or scalars.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonException.#ctor(System.String,System.String,System.Nullable{System.Int64},System.Nullable{System.Int64})">
- <summary>
- Creates a new exception object to relay error information to the user.
- </summary>
- <param name="message">The context specific error message.</param>
- <param name="path">The path where the invalid JSON was encountered.</param>
- <param name="lineNumber">The line number at which the invalid JSON was encountered (starting at 0) when deserializing.</param>
- <param name="bytePositionInLine">The byte count within the current line where the invalid JSON was encountered (starting at 0).</param>
- <remarks>
- Note that the <paramref name="bytePositionInLine"/> counts the number of bytes (i.e. UTF-8 code units) and not characters or scalars.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonException.#ctor(System.String,System.Exception)">
- <summary>
- Creates a new exception object to relay error information to the user.
- </summary>
- <param name="message">The context specific error message.</param>
- <param name="innerException">The exception that caused the current exception.</param>
- </member>
- <member name="M:System.Text.Json.JsonException.#ctor(System.String)">
- <summary>
- Creates a new exception object to relay error information to the user.
- </summary>
- <param name="message">The context specific error message.</param>
- </member>
- <member name="M:System.Text.Json.JsonException.#ctor">
- <summary>
- Creates a new exception object to relay error information to the user.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
- <summary>
- Creates a new exception object with serialized data.
- </summary>
- <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
- <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
- <exception cref="T:System.ArgumentNullException">
- Thrown when <paramref name="info"/> is <see langword="null" />.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonException.AppendPathInformation">
- <summary>
- Specifies that 'try' logic should append Path information to the exception message.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonException.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
- <summary>
- Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo"/> with information about the exception.
- </summary>
- <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo"/> that holds the serialized object data about the exception being thrown.</param>
- <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext"/> that contains contextual information about the source or destination.</param>
- </member>
- <member name="P:System.Text.Json.JsonException.LineNumber">
- <summary>
- The number of lines read so far before the exception (starting at 0).
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonException.BytePositionInLine">
- <summary>
- The number of bytes read within the current line before the exception (starting at 0).
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonException.Path">
- <summary>
- The path within the JSON where the exception was encountered.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonException.Message">
- <summary>
- Gets a message that describes the current exception.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonPropertyDictionary`1">
- <summary>
- Keeps both a List and Dictionary in sync to enable deterministic enumeration ordering of List
- and performance benefits of Dictionary once a threshold is hit.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonTokenType">
- <summary>
- This enum defines the various JSON tokens that make up a JSON text and is used by
- the <see cref="T:System.Text.Json.Utf8JsonReader"/> when moving from one token to the next.
- The <see cref="T:System.Text.Json.Utf8JsonReader"/> starts at 'None' by default. The 'Comment' enum value
- is only ever reached in a specific <see cref="T:System.Text.Json.Utf8JsonReader"/> mode and is not
- reachable by default.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.None">
- <summary>
- Indicates that there is no value (as distinct from <see cref="F:System.Text.Json.JsonTokenType.Null"/>).
- </summary>
- <remarks>
- This is the default token type if no data has been read by the <see cref="T:System.Text.Json.Utf8JsonReader"/>.
- </remarks>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.StartObject">
- <summary>
- Indicates that the token type is the start of a JSON object.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.EndObject">
- <summary>
- Indicates that the token type is the end of a JSON object.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.StartArray">
- <summary>
- Indicates that the token type is the start of a JSON array.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.EndArray">
- <summary>
- Indicates that the token type is the end of a JSON array.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.PropertyName">
- <summary>
- Indicates that the token type is a JSON property name.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.Comment">
- <summary>
- Indicates that the token type is the comment string.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.String">
- <summary>
- Indicates that the token type is a JSON string.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.Number">
- <summary>
- Indicates that the token type is a JSON number.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.True">
- <summary>
- Indicates that the token type is the JSON literal <c>true</c>.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.False">
- <summary>
- Indicates that the token type is the JSON literal <c>false</c>.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonTokenType.Null">
- <summary>
- Indicates that the token type is the JSON literal <c>null</c>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Nodes.JsonArray">
- <summary>
- Represents a mutable JSON array.
- </summary>
- <remarks>
- It is safe to perform multiple concurrent read operations on a <see cref="T:System.Text.Json.Nodes.JsonArray"/>,
- but issues can occur if the collection is modified while it's being read.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.#ctor(System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonArray"/> class that is empty.
- </summary>
- <param name="options">Options to control the behavior.</param>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.#ctor(System.Text.Json.Nodes.JsonNodeOptions,System.Text.Json.Nodes.JsonNode[])">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonArray"/> class that contains items from the specified params array.
- </summary>
- <param name="options">Options to control the behavior.</param>
- <param name="items">The items to add to the new <see cref="T:System.Text.Json.Nodes.JsonArray"/>.</param>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.#ctor(System.Text.Json.Nodes.JsonNode[])">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonArray"/> class that contains items from the specified array.
- </summary>
- <param name="items">The items to add to the new <see cref="T:System.Text.Json.Nodes.JsonArray"/>.</param>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.Create(System.Text.Json.JsonElement,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonArray"/> class that contains items from the specified <see cref="T:System.Text.Json.JsonElement"/>.
- </summary>
- <returns>
- The new instance of the <see cref="T:System.Text.Json.Nodes.JsonArray"/> class that contains items from the specified <see cref="T:System.Text.Json.JsonElement"/>.
- </returns>
- <param name="element">The <see cref="T:System.Text.Json.JsonElement"/>.</param>
- <param name="options">Options to control the behavior.</param>
- <exception cref="T:System.InvalidOperationException">
- The <paramref name="element"/> is not a <see cref="F:System.Text.Json.JsonValueKind.Array"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.Add``1(``0)">
- <summary>
- Adds an object to the end of the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- <typeparam name="T">The type of object to be added.</typeparam>
- <param name="value">
- The object to be added to the end of the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </param>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.WriteTo(System.Text.Json.Utf8JsonWriter,System.Text.Json.JsonSerializerOptions)">
- <inheritdoc/>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonArray.Count">
- <summary>
- Gets the number of elements contained in the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.Add(System.Text.Json.Nodes.JsonNode)">
- <summary>
- Adds a <see cref="T:System.Text.Json.Nodes.JsonNode"/> to the end of the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- <param name="item">
- The <see cref="T:System.Text.Json.Nodes.JsonNode"/> to be added to the end of the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </param>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.Clear">
- <summary>
- Removes all elements from the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.Contains(System.Text.Json.Nodes.JsonNode)">
- <summary>
- Determines whether an element is in the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- <param name="item">The object to locate in the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.</param>
- <returns>
- <see langword="true"/> if <paramref name="item"/> is found in the <see cref="T:System.Text.Json.Nodes.JsonArray"/>; otherwise, <see langword="false"/>.
- </returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.IndexOf(System.Text.Json.Nodes.JsonNode)">
- <summary>
- The object to locate in the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- <param name="item">The <see cref="T:System.Text.Json.Nodes.JsonNode"/> to locate in the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.</param>
- <returns>
- The index of item if found in the list; otherwise, -1.
- </returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.Insert(System.Int32,System.Text.Json.Nodes.JsonNode)">
- <summary>
- Inserts an element into the <see cref="T:System.Text.Json.Nodes.JsonArray"/> at the specified index.
- </summary>
- <param name="index">The zero-based index at which <paramref name="item"/> should be inserted.</param>
- <param name="item">The <see cref="T:System.Text.Json.Nodes.JsonNode"/> to insert.</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index"/> is less than 0 or <paramref name="index"/> is greater than <see cref="P:System.Text.Json.Nodes.JsonArray.Count"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.Remove(System.Text.Json.Nodes.JsonNode)">
- <summary>
- Removes the first occurrence of a specific <see cref="T:System.Text.Json.Nodes.JsonNode"/> from the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- <param name="item">
- The <see cref="T:System.Text.Json.Nodes.JsonNode"/> to remove from the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </param>
- <returns>
- <see langword="true"/> if <paramref name="item"/> is successfully removed; otherwise, <see langword="false"/>.
- </returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.RemoveAt(System.Int32)">
- <summary>
- Removes the element at the specified index of the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- <param name="index">The zero-based index of the element to remove.</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index"/> is less than 0 or <paramref name="index"/> is greater than <see cref="P:System.Text.Json.Nodes.JsonArray.Count"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.System#Collections#Generic#ICollection{System#Text#Json#Nodes#JsonNode}#CopyTo(System.Text.Json.Nodes.JsonNode[],System.Int32)">
- <summary>
- Copies the entire <see cref="T:System.Array"/> to a compatible one-dimensional array,
- starting at the specified index of the target array.
- </summary>
- <param name="array">
- The one-dimensional <see cref="T:System.Array"/> that is the destination of the elements copied
- from <see cref="T:System.Text.Json.Nodes.JsonArray"/>. The Array must have zero-based indexing.</param>
- <param name="index">
- The zero-based index in <paramref name="array"/> at which copying begins.
- </param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="array"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index"/> is less than 0.
- </exception>
- <exception cref="T:System.ArgumentException">
- The number of elements in the source ICollection is greater than the available space from <paramref name="index"/>
- to the end of the destination <paramref name="array"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.GetEnumerator">
- <summary>
- Returns an enumerator that iterates through the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- <returns>A <see cref="T:System.Collections.Generic.IEnumerator`1"/> for the <see cref="T:System.Text.Json.Nodes.JsonNode"/>.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonArray.System#Collections#IEnumerable#GetEnumerator">
- <summary>
- Returns an enumerator that iterates through the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- <returns>
- A <see cref="T:System.Collections.IEnumerator"/> for the <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </returns>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonArray.System#Collections#Generic#ICollection{System#Text#Json#Nodes#JsonNode}#IsReadOnly">
- <summary>
- Returns <see langword="false"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.Nodes.JsonNode">
- <summary>
- The base class that represents a single node within a mutable JSON document.
- </summary>
- <seealso cref="P:System.Text.Json.JsonSerializerOptions.UnknownTypeHandling"/> to specify that a type
- declared as an <see cref="T:System.Object"/> should be deserialized as a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </member>
- <member name="P:System.Text.Json.Nodes.JsonNode.Options">
- <summary>
- Options to control the behavior.
- </summary>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.AsArray">
- <summary>
- Casts to the derived <see cref="T:System.Text.Json.Nodes.JsonArray"/> type.
- </summary>
- <returns>
- A <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- The node is not a <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.AsObject">
- <summary>
- Casts to the derived <see cref="T:System.Text.Json.Nodes.JsonObject"/> type.
- </summary>
- <returns>
- A <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- The node is not a <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.AsValue">
- <summary>
- Casts to the derived <see cref="T:System.Text.Json.Nodes.JsonValue"/> type.
- </summary>
- <returns>
- A <see cref="T:System.Text.Json.Nodes.JsonValue"/>.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- The node is not a <see cref="T:System.Text.Json.Nodes.JsonValue"/>.
- </exception>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonNode.Parent">
- <summary>
- Gets the parent <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- If there is no parent, <see langword="null"/> is returned.
- A parent can either be a <see cref="T:System.Text.Json.Nodes.JsonObject"/> or a <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.GetPath">
- <summary>
- Gets the JSON path.
- </summary>
- <returns>The JSON Path value.</returns>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonNode.Root">
- <summary>
- Gets the root <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <remarks>
- The current node is returned if it is a root.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.GetValue``1">
- <summary>
- Gets the value for the current <see cref="T:System.Text.Json.Nodes.JsonValue"/>.
- </summary>
- <typeparam name="T">The type of the value to obtain from the <see cref="T:System.Text.Json.Nodes.JsonValue"/>.</typeparam>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</returns>
- <remarks>
- {T} can be the type or base type of the underlying value.
- If the underlying value is a <see cref="T:System.Text.Json.JsonElement"/> then {T} can also be the type of any primitive
- value supported by current <see cref="T:System.Text.Json.JsonElement"/>.
- Specifying the <see cref="T:System.Object"/> type for {T} will always succeed and return the underlying value as <see cref="T:System.Object"/>.<br />
- The underlying value of a <see cref="T:System.Text.Json.Nodes.JsonValue"/> after deserialization is an instance of <see cref="T:System.Text.Json.JsonElement"/>,
- otherwise it's the value specified when the <see cref="T:System.Text.Json.Nodes.JsonValue"/> was created.
- </remarks>
- <seealso cref="M:System.Text.Json.Nodes.JsonValue.TryGetValue``1(``0@)"></seealso>
- <exception cref="T:System.FormatException">
- The current <see cref="T:System.Text.Json.Nodes.JsonNode"/> cannot be represented as a {T}.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The current <see cref="T:System.Text.Json.Nodes.JsonNode"/> is not a <see cref="T:System.Text.Json.Nodes.JsonValue"/> or
- is not compatible with {T}.
- </exception>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonNode.Item(System.Int32)">
- <summary>
- Gets or sets the element at the specified index.
- </summary>
- <param name="index">The zero-based index of the element to get or set.</param>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index"/> is less than 0 or <paramref name="index"/> is greater than the number of properties.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The current <see cref="T:System.Text.Json.Nodes.JsonNode"/> is not a <see cref="T:System.Text.Json.Nodes.JsonArray"/>.
- </exception>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonNode.Item(System.String)">
- <summary>
- Gets or sets the element with the specified property name.
- If the property is not found, <see langword="null"/> is returned.
- </summary>
- <param name="propertyName">The name of the property to return.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="propertyName"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The current <see cref="T:System.Text.Json.Nodes.JsonNode"/> is not a <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Boolean)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Boolean"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Boolean"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Boolean})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Boolean"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Boolean"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Byte)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Byte"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Byte"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Byte})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Byte"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Byte"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Char)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Char"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Char"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Char})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Char"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Char"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.DateTime)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.DateTime"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.DateTime"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.DateTime})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.DateTime"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.DateTime"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.DateTimeOffset)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.DateTimeOffset"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.DateTimeOffset"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.DateTimeOffset})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.DateTimeOffset"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.DateTimeOffset"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Decimal)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Decimal"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Decimal"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Decimal})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Decimal"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Decimal"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Double)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Double"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Double"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Double})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Double"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Double"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Guid)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Guid"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Guid"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Guid})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Guid"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Guid"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Int16)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Int16"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int16"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Int16})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Int16"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int16"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Int32)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Int32"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int32"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Int32})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Int32"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int32"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Int64)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int64"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Int64})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int64"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.SByte)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.SByte"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.SByte"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.SByte})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.SByte"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.SByte"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Single)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Single"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Single"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.Single})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.Single"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Single"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.String)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.String"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.String"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.UInt16)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.UInt16"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt16"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.UInt16})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.UInt16"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt16"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.UInt32)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.UInt32"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt32"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.UInt32})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.UInt32"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt32"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.UInt64)~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.UInt64"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt64"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Implicit(System.Nullable{System.UInt64})~System.Text.Json.Nodes.JsonNode">
- <summary>
- Defines an implicit conversion of a given <see cref="T:System.UInt64"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt64"/> to implicitly convert.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance converted from the <paramref name="value"/> parameter.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Boolean">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Boolean"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Boolean"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Boolean}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Boolean"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Boolean"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Byte">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Byte"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Byte"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Byte}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Byte"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Byte"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Char">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Char"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Char"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Char}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Char"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Char"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.DateTime">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.DateTime"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.DateTime"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.DateTime}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.DateTime"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.DateTime"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.DateTimeOffset">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.DateTimeOffset"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.DateTimeOffset"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.DateTimeOffset}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.DateTimeOffset"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.DateTimeOffset"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Decimal">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Decimal"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Decimal"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Decimal}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Decimal"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Decimal"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Double">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Double"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Double"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Double}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Double"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Double"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Guid">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Guid"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Guid"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Guid}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Guid"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Guid"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Int16">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Int16"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int16"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Int16}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Int16"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int16"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Int32">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Int32"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int32"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Int32}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Int32"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int32"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Int64">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int64"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Int64}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Int64"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Int64"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.SByte">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.SByte"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.SByte"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.SByte}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.SByte"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.SByte"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Single">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Single"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Single"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.Single}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.Single"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.Single"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.String">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.String"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.String"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.UInt16">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.UInt16"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt16"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.UInt16}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.UInt16"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt16"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.UInt32">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.UInt32"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt32"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.UInt32}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.UInt32"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt32"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.UInt64">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.UInt64"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt64"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.op_Explicit(System.Text.Json.Nodes.JsonNode)~System.Nullable{System.UInt64}">
- <summary>
- Defines an explicit conversion of a given <see cref="T:System.UInt64"/> to a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <param name="value">A <see cref="T:System.UInt64"/> to explicitly convert.</param>
- <returns>A value converted from the <see cref="T:System.Text.Json.Nodes.JsonNode"/> instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.Parse(System.Text.Json.Utf8JsonReader@,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Parses one JSON value (including objects or arrays) from the provided reader.
- </summary>
- <param name="reader">The reader to read.</param>
- <param name="nodeOptions">Options to control the behavior.</param>
- <returns>
- The <see cref="T:System.Text.Json.Nodes.JsonNode"/> from the reader.
- </returns>
- <remarks>
- <para>
- If the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> property of <paramref name="reader"/>
- is <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or <see cref="F:System.Text.Json.JsonTokenType.None"/>, the
- reader will be advanced by one call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/> to determine
- the start of the value.
- </para>
- <para>
- Upon completion of this method, <paramref name="reader"/> will be positioned at the
- final token in the JSON value. If an exception is thrown, the reader is reset to the state it was in when the method was called.
- </para>
- <para>
- This method makes a copy of the data the reader acted on, so there is no caller
- requirement to maintain data integrity beyond the return of this method.
- </para>
- </remarks>
- <exception cref="T:System.ArgumentException">
- <paramref name="reader"/> is using unsupported options.
- </exception>
- <exception cref="T:System.ArgumentException">
- The current <paramref name="reader"/> token does not start or represent a value.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- A value could not be read from the reader.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.Parse(System.String,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions},System.Text.Json.JsonDocumentOptions)">
- <summary>
- Parses text representing a single JSON value.
- </summary>
- <param name="json">JSON text to parse.</param>
- <param name="nodeOptions">Options to control the node behavior after parsing.</param>
- <param name="documentOptions">Options to control the document behavior during parsing.</param>
- <returns>
- A <see cref="T:System.Text.Json.Nodes.JsonNode"/> representation of the JSON value.
- </returns>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="json"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="json"/> does not represent a valid single JSON value.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.Parse(System.ReadOnlySpan{System.Byte},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions},System.Text.Json.JsonDocumentOptions)">
- <summary>
- Parses text representing a single JSON value.
- </summary>
- <param name="utf8Json">JSON text to parse.</param>
- <param name="nodeOptions">Options to control the node behavior after parsing.</param>
- <param name="documentOptions">Options to control the document behavior during parsing.</param>
- <returns>
- A <see cref="T:System.Text.Json.Nodes.JsonNode"/> representation of the JSON value.
- </returns>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="utf8Json"/> does not represent a valid single JSON value.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.Parse(System.IO.Stream,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions},System.Text.Json.JsonDocumentOptions)">
- <summary>
- Parse a <see cref="T:System.IO.Stream"/> as UTF-8-encoded data representing a single JSON value into a
- <see cref="T:System.Text.Json.Nodes.JsonNode"/>. The Stream will be read to completion.
- </summary>
- <param name="utf8Json">JSON text to parse.</param>
- <param name="nodeOptions">Options to control the node behavior after parsing.</param>
- <param name="documentOptions">Options to control the document behavior during parsing.</param>
- <returns>
- A <see cref="T:System.Text.Json.Nodes.JsonNode"/> representation of the JSON value.
- </returns>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="utf8Json"/> does not represent a valid single JSON value.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.ToJsonString(System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the current instance to string in JSON format.
- </summary>
- <param name="options">Options to control the serialization behavior.</param>
- <returns>JSON representation of current instance.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.ToString">
- <summary>
- Gets a string representation for the current value appropriate to the node type.
- </summary>
- <returns>A string representation for the current value appropriate to the node type.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonNode.WriteTo(System.Text.Json.Utf8JsonWriter,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Write the <see cref="T:System.Text.Json.Nodes.JsonNode"/> into the provided <see cref="T:System.Text.Json.Utf8JsonWriter"/> as JSON.
- </summary>
- <param name="writer">The <see cref="T:System.Text.Json.Utf8JsonWriter"/>.</param>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="writer"/> parameter is <see langword="null"/>.
- </exception>
- <param name="options">Options to control the serialization behavior.</param>
- </member>
- <member name="T:System.Text.Json.Nodes.JsonNodeOptions">
- <summary>
- Options to control <see cref="T:System.Text.Json.Nodes.JsonNode"/> behavior.
- </summary>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonNodeOptions.PropertyNameCaseInsensitive">
- <summary>
- Specifies whether property names on <see cref="T:System.Text.Json.Nodes.JsonObject"/> are case insensitive.
- </summary>
- </member>
- <member name="T:System.Text.Json.Nodes.JsonObject">
- <summary>
- Represents a mutable JSON object.
- </summary>
- <remarks>
- It's safe to perform multiple concurrent read operations on a <see cref="T:System.Text.Json.Nodes.JsonObject"/>,
- but issues can occur if the collection is modified while it's being read.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.#ctor(System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonObject"/> class that is empty.
- </summary>
- <param name="options">Options to control the behavior.</param>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.Text.Json.Nodes.JsonNode}},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonObject"/> class that contains the specified <paramref name="properties"/>.
- </summary>
- <param name="properties">The properties to be added.</param>
- <param name="options">Options to control the behavior.</param>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.Create(System.Text.Json.JsonElement,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonObject"/> class that contains properties from the specified <see cref="T:System.Text.Json.JsonElement"/>.
- </summary>
- <returns>
- The new instance of the <see cref="T:System.Text.Json.Nodes.JsonObject"/> class that contains properties from the specified <see cref="T:System.Text.Json.JsonElement"/>.
- </returns>
- <param name="element">The <see cref="T:System.Text.Json.JsonElement"/>.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonObject"/>.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.TryGetPropertyValue(System.String,System.Text.Json.Nodes.JsonNode@)">
- <summary>
- Returns the value of a property with the specified name.
- </summary>
- <param name="propertyName">The name of the property to return.</param>
- <param name="jsonNode">The JSON value of the property with the specified name.</param>
- <returns>
- <see langword="true"/> if a property with the specified name was found; otherwise, <see langword="false"/>.
- </returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.WriteTo(System.Text.Json.Utf8JsonWriter,System.Text.Json.JsonSerializerOptions)">
- <inheritdoc/>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.Add(System.String,System.Text.Json.Nodes.JsonNode)">
- <summary>
- Adds an element with the provided property name and value to the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- <param name="propertyName">The property name of the element to add.</param>
- <param name="value">The value of the element to add.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="propertyName"/>is <see langword="null"/>.
- </exception>
- <exception cref="T:System.ArgumentException">
- An element with the same property name already exists in the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.Add(System.Collections.Generic.KeyValuePair{System.String,System.Text.Json.Nodes.JsonNode})">
- <summary>
- Adds the specified property to the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- <param name="property">
- The KeyValuePair structure representing the property name and value to add to the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </param>
- <exception cref="T:System.ArgumentException">
- An element with the same property name already exists in the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The property name of <paramref name="property"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.Clear">
- <summary>
- Removes all elements from the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.ContainsKey(System.String)">
- <summary>
- Determines whether the <see cref="T:System.Text.Json.Nodes.JsonObject"/> contains an element with the specified property name.
- </summary>
- <param name="propertyName">The property name to locate in the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.</param>
- <returns>
- <see langword="true"/> if the <see cref="T:System.Text.Json.Nodes.JsonObject"/> contains an element with the specified property name; otherwise, <see langword="false"/>.
- </returns>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="propertyName"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonObject.Count">
- <summary>
- Gets the number of elements contained in <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.Remove(System.String)">
- <summary>
- Removes the element with the specified property name from the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- <param name="propertyName">The property name of the element to remove.</param>
- <returns>
- <see langword="true"/> if the element is successfully removed; otherwise, <see langword="false"/>.
- </returns>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="propertyName"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{System#String,System#Text#Json#Nodes#JsonNode}}#Contains(System.Collections.Generic.KeyValuePair{System.String,System.Text.Json.Nodes.JsonNode})">
- <summary>
- Determines whether the <see cref="T:System.Text.Json.Nodes.JsonObject"/> contains a specific property name and <see cref="T:System.Text.Json.Nodes.JsonNode"/> reference.
- </summary>
- <param name="item">The element to locate in the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.</param>
- <returns>
- <see langword="true"/> if the <see cref="T:System.Text.Json.Nodes.JsonObject"/> contains an element with the property name; otherwise, <see langword="false"/>.
- </returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{System#String,System#Text#Json#Nodes#JsonNode}}#CopyTo(System.Collections.Generic.KeyValuePair{System.String,System.Text.Json.Nodes.JsonNode}[],System.Int32)">
- <summary>
- Copies the elements of the <see cref="T:System.Text.Json.Nodes.JsonObject"/> to an array of type KeyValuePair starting at the specified array index.
- </summary>
- <param name="array">
- The one-dimensional Array that is the destination of the elements copied from <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </param>
- <param name="index">The zero-based index in <paramref name="array"/> at which copying begins.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="array"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- <paramref name="index"/> is less than 0.
- </exception>
- <exception cref="T:System.ArgumentException">
- The number of elements in the source ICollection is greater than the available space from <paramref name="index"/>
- to the end of the destination <paramref name="array"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.GetEnumerator">
- <summary>
- Returns an enumerator that iterates through the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- <returns>
- An enumerator that iterates through the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{System#String,System#Text#Json#Nodes#JsonNode}}#Remove(System.Collections.Generic.KeyValuePair{System.String,System.Text.Json.Nodes.JsonNode})">
- <summary>
- Removes a key and value from the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- <param name="item">
- The KeyValuePair structure representing the property name and value to remove from the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </param>
- <returns>
- <see langword="true"/> if the element is successfully removed; otherwise, <see langword="false"/>.
- </returns>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonObject.System#Collections#Generic#IDictionary{System#String,System#Text#Json#Nodes#JsonNode}#Keys">
- <summary>
- Gets a collection containing the property names in the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonObject.System#Collections#Generic#IDictionary{System#String,System#Text#Json#Nodes#JsonNode}#Values">
- <summary>
- Gets a collection containing the property values in the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.System#Collections#Generic#IDictionary{System#String,System#Text#Json#Nodes#JsonNode}#TryGetValue(System.String,System.Text.Json.Nodes.JsonNode@)">
- <summary>
- Gets the value associated with the specified property name.
- </summary>
- <param name="propertyName">The property name of the value to get.</param>
- <param name="jsonNode">
- When this method returns, contains the value associated with the specified property name, if the property name is found;
- otherwise, <see langword="null"/>.
- </param>
- <returns>
- <see langword="true"/> if the <see cref="T:System.Text.Json.Nodes.JsonObject"/> contains an element with the specified property name; otherwise, <see langword="false"/>.
- </returns>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="propertyName"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="P:System.Text.Json.Nodes.JsonObject.System#Collections#Generic#ICollection{System#Collections#Generic#KeyValuePair{System#String,System#Text#Json#Nodes#JsonNode}}#IsReadOnly">
- <summary>
- Returns <see langword="false"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonObject.System#Collections#IEnumerable#GetEnumerator">
- <summary>
- Returns an enumerator that iterates through the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </summary>
- <returns>
- An enumerator that iterates through the <see cref="T:System.Text.Json.Nodes.JsonObject"/>.
- </returns>
- </member>
- <member name="T:System.Text.Json.Nodes.JsonValue">
- <summary>
- Represents a mutable JSON value.
- </summary>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Boolean,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Boolean},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Byte,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Byte},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Char,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Char},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.DateTime,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.DateTime},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.DateTimeOffset,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.DateTimeOffset},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Decimal,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Decimal},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Double,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Double},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Guid,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Guid},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Int16,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Int16},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Int32,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Int32},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Int64,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Int64},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.SByte,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.SByte},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Single,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Single},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.String,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.UInt16,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.UInt16},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.UInt32,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.UInt32},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.UInt64,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.UInt64},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Text.Json.JsonElement,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create(System.Nullable{System.Text.Json.JsonElement},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <param name="value">The underlying value of the new <see cref="T:System.Text.Json.Nodes.JsonValue"/> instance.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create``1(``0,System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <returns>
- The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </returns>
- <typeparam name="T">The type of value to create.</typeparam>
- <param name="value">The value to create.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.Create``1(``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Nullable{System.Text.Json.Nodes.JsonNodeOptions})">
- <summary>
- Initializes a new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </summary>
- <returns>
- The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.
- </returns>
- <typeparam name="T">The type of value to create.</typeparam>
- <param name="value">The value to create.</param>
- <param name="jsonTypeInfo">The <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> that will be used to serialize the value.</param>
- <param name="options">Options to control the behavior.</param>
- <returns>The new instance of the <see cref="T:System.Text.Json.Nodes.JsonValue"/> class that contains the specified value.</returns>
- </member>
- <member name="M:System.Text.Json.Nodes.JsonValue.TryGetValue``1(``0@)">
- <summary>
- Tries to obtain the current JSON value and returns a value that indicates whether the operation succeeded.
- </summary>
- <remarks>
- {T} can be the type or base type of the underlying value.
- If the underlying value is a <see cref="T:System.Text.Json.JsonElement"/> then {T} can also be the type of any primitive
- value supported by current <see cref="T:System.Text.Json.JsonElement"/>.
- Specifying the <see cref="T:System.Object"/> type for {T} will always succeed and return the underlying value as <see cref="T:System.Object"/>.<br />
- The underlying value of a <see cref="T:System.Text.Json.Nodes.JsonValue"/> after deserialization is an instance of <see cref="T:System.Text.Json.JsonElement"/>,
- otherwise it's the value specified when the <see cref="T:System.Text.Json.Nodes.JsonValue"/> was created.
- </remarks>
- <seealso cref="M:System.Text.Json.Nodes.JsonNode.GetValue``1"></seealso>
- <typeparam name="T">The type of value to obtain.</typeparam>
- <param name="value">When this method returns, contains the parsed value.</param>
- <returns><see langword="true"/> if the value can be successfully obtained; otherwise, <see langword="false"/>.</returns>
- </member>
- <member name="T:System.Text.Json.Nodes.JsonValueNotTrimmable`1">
- <summary>
- Not trim-safe since it calls JsonSerializer.Serialize(JsonSerializerOptions).
- </summary>
- </member>
- <member name="T:System.Text.Json.Nodes.JsonValueTrimmable`1">
- <summary>
- Trim-safe since it either calls the converter directly or calls the JsonSerializer.Serialize(JsonTypeInfo{TValue}).
- </summary>
- </member>
- <member name="T:System.Text.Json.ConsumeNumberResult">
- <summary>
- This enum captures the tri-state return value when trying to read a
- JSON number.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConsumeNumberResult.Success">
- <summary>
- Reached a valid end of number and hence no action is required.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConsumeNumberResult.OperationIncomplete">
- <summary>
- Successfully processed a portion of the number and need to
- read to the next region of the number.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConsumeNumberResult.NeedMoreData">
- <summary>
- Observed incomplete data.
- Return false if we have more data to follow. Otherwise throw.
- </summary>
- </member>
- <member name="T:System.Text.Json.ConsumeTokenResult">
- <summary>
- This enum captures the tri-state return value when trying to read the
- next JSON token.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConsumeTokenResult.Success">
- <summary>
- Reached a valid end of token and hence no action is required.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConsumeTokenResult.NotEnoughDataRollBackState">
- <summary>
- Observed incomplete data but progressed state partially in looking ahead.
- Return false and roll-back to a previously saved state.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConsumeTokenResult.IncompleteNoRollBackNecessary">
- <summary>
- Observed incomplete data but no change was made to the state.
- Return false, but do not roll-back anything since nothing changed.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonReaderHelper.TryUnescape(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@)">
- <summary>
- Used when writing to buffers not guaranteed to fit the unescaped result.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonReaderHelper.TryUnescape(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32,System.Int32@)">
- <summary>
- Used when writing to buffers not guaranteed to fit the unescaped result.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonReaderOptions">
- <summary>
- Provides the ability for the user to define custom behavior when reading JSON.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonReaderOptions.CommentHandling">
- <summary>
- Defines how the <see cref="T:System.Text.Json.Utf8JsonReader"/> should handle comments when reading through the JSON.
- </summary>
- <exception cref="T:System.ArgumentOutOfRangeException">
- Thrown when the comment handling enum is set to a value that is not supported (i.e. not within the <see cref="T:System.Text.Json.JsonCommentHandling"/> enum range).
- </exception>
- <remarks>
- By default <exception cref="T:System.Text.Json.JsonException"/> is thrown if a comment is encountered.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonReaderOptions.MaxDepth">
- <summary>
- Gets or sets the maximum depth allowed when reading JSON, with the default (i.e. 0) indicating a max depth of 64.
- </summary>
- <exception cref="T:System.ArgumentOutOfRangeException">
- Thrown when the max depth is set to a negative value.
- </exception>
- <remarks>
- Reading past this depth will throw a <exception cref="T:System.Text.Json.JsonException"/>.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonReaderOptions.AllowTrailingCommas">
- <summary>
- Defines whether an extra comma at the end of a list of JSON values in an object or array
- is allowed (and ignored) within the JSON payload being read.
- </summary>
- <remarks>
- By default, it's set to false, and <exception cref="T:System.Text.Json.JsonException"/> is thrown if a trailing comma is encountered.
- </remarks>
- </member>
- <member name="T:System.Text.Json.JsonReaderState">
- <summary>
- Defines an opaque type that holds and saves all the relevant state information which must be provided
- to the <see cref="T:System.Text.Json.Utf8JsonReader"/> to continue reading after processing incomplete data.
- This type is required to support reentrancy when reading incomplete data, and to continue
- reading once more data is available. Unlike the <see cref="T:System.Text.Json.Utf8JsonReader"/>, which is a ref struct,
- this type can survive across async/await boundaries and hence this type is required to provide
- support for reading in more data asynchronously before continuing with a new instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonReaderState.#ctor(System.Text.Json.JsonReaderOptions)">
- <summary>
- Constructs a new <see cref="T:System.Text.Json.JsonReaderState"/> instance.
- </summary>
- <param name="options">Defines the customized behavior of the <see cref="T:System.Text.Json.Utf8JsonReader"/>
- that is different from the JSON RFC (for example how to handle comments or maximum depth allowed when reading).
- By default, the <see cref="T:System.Text.Json.Utf8JsonReader"/> follows the JSON RFC strictly (i.e. comments within the JSON are invalid) and reads up to a maximum depth of 64.</param>
- <remarks>
- An instance of this state must be passed to the <see cref="T:System.Text.Json.Utf8JsonReader"/> ctor with the JSON data.
- Unlike the <see cref="T:System.Text.Json.Utf8JsonReader"/>, which is a ref struct, the state can survive
- across async/await boundaries and hence this type is required to provide support for reading
- in more data asynchronously before continuing with a new instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/>.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonReaderState.Options">
- <summary>
- Gets the custom behavior when reading JSON using
- the <see cref="T:System.Text.Json.Utf8JsonReader"/> that may deviate from strict adherence
- to the JSON specification, which is the default behavior.
- </summary>
- </member>
- <member name="T:System.Text.Json.Utf8JsonReader">
- <summary>
- Provides a high-performance API for forward-only, read-only access to the UTF-8 encoded JSON text.
- It processes the text sequentially with no caching and adheres strictly to the JSON RFC
- by default (https://tools.ietf.org/html/rfc8259). When it encounters invalid JSON, it throws
- a JsonException with basic error information like line number and byte position on the line.
- Since this type is a ref struct, it does not directly support async. However, it does provide
- support for reentrancy to read incomplete data, and continue reading once more data is presented.
- To be able to set max depth while reading OR allow skipping comments, create an instance of
- <see cref="T:System.Text.Json.JsonReaderState"/> and pass that in to the reader.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.ValueSpan">
- <summary>
- Gets the value of the last processed token as a ReadOnlySpan<byte> slice
- of the input payload. If the JSON is provided within a ReadOnlySequence<byte>
- and the slice that represents the token value fits in a single segment, then
- <see cref="P:System.Text.Json.Utf8JsonReader.ValueSpan"/> will contain the sliced value since it can be represented as a span.
- Otherwise, the <see cref="P:System.Text.Json.Utf8JsonReader.ValueSequence"/> will contain the token value.
- </summary>
- <remarks>
- If <see cref="P:System.Text.Json.Utf8JsonReader.HasValueSequence"/> is true, <see cref="P:System.Text.Json.Utf8JsonReader.ValueSpan"/> contains useless data, likely for
- a previous single-segment token. Therefore, only access <see cref="P:System.Text.Json.Utf8JsonReader.ValueSpan"/> if <see cref="P:System.Text.Json.Utf8JsonReader.HasValueSequence"/> is false.
- Otherwise, the token value must be accessed from <see cref="P:System.Text.Json.Utf8JsonReader.ValueSequence"/>.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.BytesConsumed">
- <summary>
- Returns the total amount of bytes consumed by the <see cref="T:System.Text.Json.Utf8JsonReader"/> so far
- for the current instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/> with the given UTF-8 encoded input text.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.TokenStartIndex">
- <summary>
- Returns the index that the last processed JSON token starts at
- within the given UTF-8 encoded input text, skipping any white space.
- </summary>
- <remarks>
- For JSON strings (including property names), this points to before the start quote.
- For comments, this points to before the first comment delimiter (i.e. '/').
- </remarks>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.CurrentDepth">
- <summary>
- Tracks the recursive depth of the nested objects / arrays within the JSON text
- processed so far. This provides the depth of the current token.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.TokenType">
- <summary>
- Gets the type of the last processed JSON token in the UTF-8 encoded JSON text.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.HasValueSequence">
- <summary>
- Lets the caller know which of the two 'Value' properties to read to get the
- token value. For input data within a ReadOnlySpan<byte> this will
- always return false. For input data within a ReadOnlySequence<byte>, this
- will only return true if the token value straddles more than a single segment and
- hence couldn't be represented as a span.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.ValueIsEscaped">
- <summary>
- Lets the caller know whether the current <see cref="P:System.Text.Json.Utf8JsonReader.ValueSpan" /> or <see cref="P:System.Text.Json.Utf8JsonReader.ValueSequence"/> properties
- contain escape sequences per RFC 8259 section 7, and therefore require unescaping before being consumed.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.IsFinalBlock">
- <summary>
- Returns the mode of this instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/>.
- True when the reader was constructed with the input span containing the entire data to process.
- False when the reader was constructed knowing that the input span may contain partial data with more data to follow.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.ValueSequence">
- <summary>
- Gets the value of the last processed token as a ReadOnlySpan<byte> slice
- of the input payload. If the JSON is provided within a ReadOnlySequence<byte>
- and the slice that represents the token value fits in a single segment, then
- <see cref="P:System.Text.Json.Utf8JsonReader.ValueSpan"/> will contain the sliced value since it can be represented as a span.
- Otherwise, the <see cref="P:System.Text.Json.Utf8JsonReader.ValueSequence"/> will contain the token value.
- </summary>
- <remarks>
- If <see cref="P:System.Text.Json.Utf8JsonReader.HasValueSequence"/> is false, <see cref="P:System.Text.Json.Utf8JsonReader.ValueSequence"/> contains useless data, likely for
- a previous multi-segment token. Therefore, only access <see cref="P:System.Text.Json.Utf8JsonReader.ValueSequence"/> if <see cref="P:System.Text.Json.Utf8JsonReader.HasValueSequence"/> is true.
- Otherwise, the token value must be accessed from <see cref="P:System.Text.Json.Utf8JsonReader.ValueSpan"/>.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.Position">
- <summary>
- Returns the current <see cref="T:System.SequencePosition"/> within the provided UTF-8 encoded
- input ReadOnlySequence<byte>. If the <see cref="T:System.Text.Json.Utf8JsonReader"/> was constructed
- with a ReadOnlySpan<byte> instead, this will always return a default <see cref="T:System.SequencePosition"/>.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonReader.CurrentState">
- <summary>
- Returns the current snapshot of the <see cref="T:System.Text.Json.Utf8JsonReader"/> state which must
- be captured by the caller and passed back in to the <see cref="T:System.Text.Json.Utf8JsonReader"/> ctor with more data.
- Unlike the <see cref="T:System.Text.Json.Utf8JsonReader"/>, which is a ref struct, the state can survive
- across async/await boundaries and hence this type is required to provide support for reading
- in more data asynchronously before continuing with a new instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/>.
- </summary>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.#ctor(System.ReadOnlySpan{System.Byte},System.Boolean,System.Text.Json.JsonReaderState)">
- <summary>
- Constructs a new <see cref="T:System.Text.Json.Utf8JsonReader"/> instance.
- </summary>
- <param name="jsonData">The ReadOnlySpan<byte> containing the UTF-8 encoded JSON text to process.</param>
- <param name="isFinalBlock">True when the input span contains the entire data to process.
- Set to false only if it is known that the input span contains partial data with more data to follow.</param>
- <param name="state">If this is the first call to the ctor, pass in a default state. Otherwise,
- capture the state from the previous instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/> and pass that back.</param>
- <remarks>
- Since this type is a ref struct, it is a stack-only type and all the limitations of ref structs apply to it.
- This is the reason why the ctor accepts a <see cref="T:System.Text.Json.JsonReaderState"/>.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.#ctor(System.ReadOnlySpan{System.Byte},System.Text.Json.JsonReaderOptions)">
- <summary>
- Constructs a new <see cref="T:System.Text.Json.Utf8JsonReader"/> instance.
- </summary>
- <param name="jsonData">The ReadOnlySpan<byte> containing the UTF-8 encoded JSON text to process.</param>
- <param name="options">Defines the customized behavior of the <see cref="T:System.Text.Json.Utf8JsonReader"/>
- that is different from the JSON RFC (for example how to handle comments or maximum depth allowed when reading).
- By default, the <see cref="T:System.Text.Json.Utf8JsonReader"/> follows the JSON RFC strictly (i.e. comments within the JSON are invalid) and reads up to a maximum depth of 64.</param>
- <remarks>
- <para>
- Since this type is a ref struct, it is a stack-only type and all the limitations of ref structs apply to it.
- </para>
- <para>
- This assumes that the entire JSON payload is passed in (equivalent to <see cref="P:System.Text.Json.Utf8JsonReader.IsFinalBlock"/> = true)
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.Read">
- <summary>
- Read the next JSON token from input source.
- </summary>
- <returns>True if the token was read successfully, else false.</returns>
- <exception cref="T:System.Text.Json.JsonException">
- Thrown when an invalid JSON token is encountered according to the JSON RFC
- or if the current depth exceeds the recursive limit set by the max depth.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.Skip">
- <summary>
- Skips the children of the current JSON token.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the reader was given partial data with more data to follow (i.e. <see cref="P:System.Text.Json.Utf8JsonReader.IsFinalBlock"/> is false).
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- Thrown when an invalid JSON token is encountered while skipping, according to the JSON RFC,
- or if the current depth exceeds the recursive limit set by the max depth.
- </exception>
- <remarks>
- When <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> is <see cref="F:System.Text.Json.JsonTokenType.PropertyName" />, the reader first moves to the property value.
- When <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> (originally, or after advancing) is <see cref="F:System.Text.Json.JsonTokenType.StartObject" /> or
- <see cref="F:System.Text.Json.JsonTokenType.StartArray" />, the reader advances to the matching
- <see cref="F:System.Text.Json.JsonTokenType.EndObject" /> or <see cref="F:System.Text.Json.JsonTokenType.EndArray" />.
-
- For all other token types, the reader does not move. After the next call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/>, the reader will be at
- the next value (when in an array), the next property name (when in an object), or the end array/object token.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TrySkip">
- <summary>
- Tries to skip the children of the current JSON token.
- </summary>
- <returns>True if there was enough data for the children to be skipped successfully, else false.</returns>
- <exception cref="T:System.Text.Json.JsonException">
- Thrown when an invalid JSON token is encountered while skipping, according to the JSON RFC,
- or if the current depth exceeds the recursive limit set by the max depth.
- </exception>
- <remarks>
- <para>
- If the reader did not have enough data to completely skip the children of the current token,
- it will be reset to the state it was in before the method was called.
- </para>
- <para>
- When <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> is <see cref="F:System.Text.Json.JsonTokenType.PropertyName" />, the reader first moves to the property value.
- When <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> (originally, or after advancing) is <see cref="F:System.Text.Json.JsonTokenType.StartObject" /> or
- <see cref="F:System.Text.Json.JsonTokenType.StartArray" />, the reader advances to the matching
- <see cref="F:System.Text.Json.JsonTokenType.EndObject" /> or <see cref="F:System.Text.Json.JsonTokenType.EndArray" />.
-
- For all other token types, the reader does not move. After the next call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/>, the reader will be at
- the next value (when in an array), the next property name (when in an object), or the end array/object token.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.ValueTextEquals(System.ReadOnlySpan{System.Byte})">
- <summary>
- Compares the UTF-8 encoded text to the unescaped JSON token value in the source and returns true if they match.
- </summary>
- <param name="utf8Text">The UTF-8 encoded text to compare against.</param>
- <returns>True if the JSON token value in the source matches the UTF-8 encoded look up text.</returns>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to find a text match on a JSON token that is not a string
- (i.e. other than <see cref="F:System.Text.Json.JsonTokenType.String"/> or <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/>).
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <remarks>
- <para>
- If the look up text is invalid UTF-8 text, the method will return false since you cannot have
- invalid UTF-8 within the JSON payload.
- </para>
- <para>
- The comparison of the JSON token value in the source and the look up text is done by first unescaping the JSON value in source,
- if required. The look up text is matched as is, without any modifications to it.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.ValueTextEquals(System.String)">
- <summary>
- Compares the string text to the unescaped JSON token value in the source and returns true if they match.
- </summary>
- <param name="text">The text to compare against.</param>
- <returns>True if the JSON token value in the source matches the look up text.</returns>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to find a text match on a JSON token that is not a string
- (i.e. other than <see cref="F:System.Text.Json.JsonTokenType.String"/> or <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/>).
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <remarks>
- <para>
- If the look up text is invalid UTF-8 text, the method will return false since you cannot have
- invalid UTF-8 within the JSON payload.
- </para>
- <para>
- The comparison of the JSON token value in the source and the look up text is done by first unescaping the JSON value in source,
- if required. The look up text is matched as is, without any modifications to it.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.ValueTextEquals(System.ReadOnlySpan{System.Char})">
- <summary>
- Compares the text to the unescaped JSON token value in the source and returns true if they match.
- </summary>
- <param name="text">The text to compare against.</param>
- <returns>True if the JSON token value in the source matches the look up text.</returns>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to find a text match on a JSON token that is not a string
- (i.e. other than <see cref="F:System.Text.Json.JsonTokenType.String"/> or <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/>).
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <remarks>
- <para>
- If the look up text is invalid or incomplete UTF-16 text (i.e. unpaired surrogates), the method will return false
- since you cannot have invalid UTF-16 within the JSON payload.
- </para>
- <para>
- The comparison of the JSON token value in the source and the look up text is done by first unescaping the JSON value in source,
- if required. The look up text is matched as is, without any modifications to it.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.ConsumeValue(System.Byte)">
- <summary>
- This method contains the logic for processing the next value token and determining
- what type of data it is.
- </summary>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.ConsumeNextToken(System.Byte)">
- <summary>
- This method consumes the next token regardless of whether we are inside an object or an array.
- For an object, it reads the next property name token. For an array, it just reads the next value.
- </summary>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.#ctor(System.Buffers.ReadOnlySequence{System.Byte},System.Boolean,System.Text.Json.JsonReaderState)">
- <summary>
- Constructs a new <see cref="T:System.Text.Json.Utf8JsonReader"/> instance.
- </summary>
- <param name="jsonData">The ReadOnlySequence<byte> containing the UTF-8 encoded JSON text to process.</param>
- <param name="isFinalBlock">True when the input span contains the entire data to process.
- Set to false only if it is known that the input span contains partial data with more data to follow.</param>
- <param name="state">If this is the first call to the ctor, pass in a default state. Otherwise,
- capture the state from the previous instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/> and pass that back.</param>
- <remarks>
- Since this type is a ref struct, it is a stack-only type and all the limitations of ref structs apply to it.
- This is the reason why the ctor accepts a <see cref="T:System.Text.Json.JsonReaderState"/>.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.#ctor(System.Buffers.ReadOnlySequence{System.Byte},System.Text.Json.JsonReaderOptions)">
- <summary>
- Constructs a new <see cref="T:System.Text.Json.Utf8JsonReader"/> instance.
- </summary>
- <param name="jsonData">The ReadOnlySequence<byte> containing the UTF-8 encoded JSON text to process.</param>
- <param name="options">Defines the customized behavior of the <see cref="T:System.Text.Json.Utf8JsonReader"/>
- that is different from the JSON RFC (for example how to handle comments or maximum depth allowed when reading).
- By default, the <see cref="T:System.Text.Json.Utf8JsonReader"/> follows the JSON RFC strictly (i.e. comments within the JSON are invalid) and reads up to a maximum depth of 64.</param>
- <remarks>
- <para>
- Since this type is a ref struct, it is a stack-only type and all the limitations of ref structs apply to it.
- </para>
- <para>
- This assumes that the entire JSON payload is passed in (equivalent to <see cref="P:System.Text.Json.Utf8JsonReader.IsFinalBlock"/> = true)
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.ConsumeValueMultiSegment(System.Byte)">
- <summary>
- This method contains the logic for processing the next value token and determining
- what type of data it is.
- </summary>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.ConsumeNextTokenMultiSegment(System.Byte)">
- <summary>
- This method consumes the next token regardless of whether we are inside an object or an array.
- For an object, it reads the next property name token. For an array, it just reads the next value.
- </summary>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetString">
- <summary>
- Parses the current JSON token value from the source, unescaped, and transcoded as a <see cref="T:System.String"/>.
- </summary>
- <remarks>
- Returns <see langword="null" /> when <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> is <see cref="F:System.Text.Json.JsonTokenType.Null"/>.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of the JSON token that is not a string
- (i.e. other than <see cref="F:System.Text.Json.JsonTokenType.String"/>, <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or
- <see cref="F:System.Text.Json.JsonTokenType.Null"/>).
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- It will also throw when the JSON string contains invalid UTF-8 bytes, or invalid UTF-16 surrogates.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.CopyString(System.Span{System.Byte})">
- <summary>
- Copies the current JSON token value from the source, unescaped as a UTF-8 string to the destination buffer.
- </summary>
- <param name="utf8Destination">A buffer to write the unescaped UTF-8 bytes into.</param>
- <returns>The number of bytes written to <paramref name="utf8Destination"/>.</returns>
- <remarks>
- Unlike <see cref="M:System.Text.Json.Utf8JsonReader.GetString"/>, this method does not support <see cref="F:System.Text.Json.JsonTokenType.Null"/>.
-
- This method will throw <see cref="T:System.ArgumentException"/> if the destination buffer is too small to hold the unescaped value.
- An appropriately sized buffer can be determined by consulting the length of either <see cref="P:System.Text.Json.Utf8JsonReader.ValueSpan"/> or <see cref="P:System.Text.Json.Utf8JsonReader.ValueSequence"/>,
- since the unescaped result is always less than or equal to the length of the encoded strings.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of the JSON token that is not a string
- (i.e. other than <see cref="F:System.Text.Json.JsonTokenType.String"/> or <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- It will also throw when the JSON string contains invalid UTF-8 bytes, or invalid UTF-16 surrogates.
- </exception>
- <exception cref="T:System.ArgumentException">The destination buffer is too small to hold the unescaped value.</exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.CopyString(System.Span{System.Char})">
- <summary>
- Copies the current JSON token value from the source, unescaped, and transcoded as a UTF-16 char buffer.
- </summary>
- <param name="destination">A buffer to write the transcoded UTF-16 characters into.</param>
- <returns>The number of characters written to <paramref name="destination"/>.</returns>
- <remarks>
- Unlike <see cref="M:System.Text.Json.Utf8JsonReader.GetString"/>, this method does not support <see cref="F:System.Text.Json.JsonTokenType.Null"/>.
-
- This method will throw <see cref="T:System.ArgumentException"/> if the destination buffer is too small to hold the unescaped value.
- An appropriately sized buffer can be determined by consulting the length of either <see cref="P:System.Text.Json.Utf8JsonReader.ValueSpan"/> or <see cref="P:System.Text.Json.Utf8JsonReader.ValueSequence"/>,
- since the unescaped result is always less than or equal to the length of the encoded strings.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of the JSON token that is not a string
- (i.e. other than <see cref="F:System.Text.Json.JsonTokenType.String"/> or <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- It will also throw when the JSON string contains invalid UTF-8 bytes, or invalid UTF-16 surrogates.
- </exception>
- <exception cref="T:System.ArgumentException">The destination buffer is too small to hold the unescaped value.</exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetComment">
- <summary>
- Parses the current JSON token value from the source as a comment, transcoded as a <see cref="T:System.String"/>.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of the JSON token that is not a comment.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetBoolean">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Boolean"/>.
- Returns <see langword="true"/> if the TokenType is JsonTokenType.True and <see langword="false"/> if the TokenType is JsonTokenType.False.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a boolean (i.e. <see cref="F:System.Text.Json.JsonTokenType.True"/> or <see cref="F:System.Text.Json.JsonTokenType.False"/>).
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetBytesFromBase64">
- <summary>
- Parses the current JSON token value from the source and decodes the Base64 encoded JSON string as bytes.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.String"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- The JSON string contains data outside of the expected Base64 range, or if it contains invalid/more than two padding characters,
- or is incomplete (i.e. the JSON string length is not a multiple of 4).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetByte">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Byte"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.Byte"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is either of incorrect numeric format (for example if it contains a decimal or
- is written in scientific notation) or, it represents a number less than <see cref="F:System.Byte.MinValue"/> or greater
- than <see cref="F:System.Byte.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetSByte">
- <summary>
- Parses the current JSON token value from the source as an <see cref="T:System.SByte"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to an <see cref="T:System.SByte"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is either of incorrect numeric format (for example if it contains a decimal or
- is written in scientific notation) or, it represents a number less than <see cref="F:System.SByte.MinValue"/> or greater
- than <see cref="F:System.SByte.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetInt16">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Int16"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.Int16"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is either of incorrect numeric format (for example if it contains a decimal or
- is written in scientific notation) or, it represents a number less than <see cref="F:System.Int16.MinValue"/> or greater
- than <see cref="F:System.Int16.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetInt32">
- <summary>
- Parses the current JSON token value from the source as an <see cref="T:System.Int32"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to an <see cref="T:System.Int32"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is either of incorrect numeric format (for example if it contains a decimal or
- is written in scientific notation) or, it represents a number less than <see cref="F:System.Int32.MinValue"/> or greater
- than <see cref="F:System.Int32.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetInt64">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Int64"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.Int64"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is either of incorrect numeric format (for example if it contains a decimal or
- is written in scientific notation) or, it represents a number less than <see cref="F:System.Int64.MinValue"/> or greater
- than <see cref="F:System.Int64.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetUInt16">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.UInt16"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.UInt16"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is either of incorrect numeric format (for example if it contains a decimal or
- is written in scientific notation) or, it represents a number less than <see cref="F:System.UInt16.MinValue"/> or greater
- than <see cref="F:System.UInt16.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetUInt32">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.UInt32"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.UInt32"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is either of incorrect numeric format (for example if it contains a decimal or
- is written in scientific notation) or, it represents a number less than <see cref="F:System.UInt32.MinValue"/> or greater
- than <see cref="F:System.UInt32.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetUInt64">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.UInt64"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.UInt64"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is either of incorrect numeric format (for example if it contains a decimal or
- is written in scientific notation) or, it represents a number less than <see cref="F:System.UInt64.MinValue"/> or greater
- than <see cref="F:System.UInt64.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetSingle">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Single"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.Single"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- On any framework that is not .NET Core 3.0 or higher, thrown if the JSON token value represents a number less than <see cref="F:System.Single.MinValue"/> or greater
- than <see cref="F:System.Single.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetDouble">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Double"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.Double"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- On any framework that is not .NET Core 3.0 or higher, thrown if the JSON token value represents a number less than <see cref="F:System.Double.MinValue"/> or greater
- than <see cref="F:System.Double.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetDecimal">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Decimal"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.Decimal"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value represents a number less than <see cref="F:System.Decimal.MinValue"/> or greater
- than <see cref="F:System.Decimal.MaxValue"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetDateTime">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.DateTime"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.DateTime"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.String"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is of an unsupported format. Only a subset of ISO 8601 formats are supported.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetDateTimeOffset">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.DateTimeOffset"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.DateTimeOffset"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.String"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is of an unsupported format. Only a subset of ISO 8601 formats are supported.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.GetGuid">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Guid"/>.
- Returns the value if the entire UTF-8 encoded token value can be successfully parsed to a <see cref="T:System.Guid"/>
- value.
- Throws exceptions otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.String"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- <exception cref="T:System.FormatException">
- Thrown if the JSON token value is of an unsupported format for a Guid.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetBytesFromBase64(System.Byte[]@)">
- <summary>
- Parses the current JSON token value from the source and decodes the Base64 encoded JSON string as bytes.
- Returns <see langword="true"/> if the entire token value is encoded as valid Base64 text and can be successfully
- decoded to bytes.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.String"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetByte(System.Byte@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Byte"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.Byte"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetSByte(System.SByte@)">
- <summary>
- Parses the current JSON token value from the source as an <see cref="T:System.SByte"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to an <see cref="T:System.SByte"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetInt16(System.Int16@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Int16"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.Int16"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetInt32(System.Int32@)">
- <summary>
- Parses the current JSON token value from the source as an <see cref="T:System.Int32"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to an <see cref="T:System.Int32"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetInt64(System.Int64@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Int64"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.Int64"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetUInt16(System.UInt16@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.UInt16"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.UInt16"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetUInt32(System.UInt32@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.UInt32"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.UInt32"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetUInt64(System.UInt64@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.UInt64"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.UInt64"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetSingle(System.Single@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Single"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.Single"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetDouble(System.Double@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Double"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.Double"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetDecimal(System.Decimal@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Decimal"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.Decimal"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.Number"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetDateTime(System.DateTime@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.DateTime"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.DateTime"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.String"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetDateTimeOffset(System.DateTimeOffset@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.DateTimeOffset"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.DateTimeOffset"/> value.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.String"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonReader.TryGetGuid(System.Guid@)">
- <summary>
- Parses the current JSON token value from the source as a <see cref="T:System.Guid"/>.
- Returns <see langword="true"/> if the entire UTF-8 encoded token value can be successfully
- parsed to a <see cref="T:System.Guid"/> value. Only supports <see cref="T:System.Guid"/> values with hyphens
- and without any surrounding decorations.
- Returns <see langword="false"/> otherwise.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if trying to get the value of a JSON token that is not a <see cref="F:System.Text.Json.JsonTokenType.String"/>.
- <seealso cref="P:System.Text.Json.Utf8JsonReader.TokenType" />
- </exception>
- </member>
- <member name="T:System.Text.Json.Arguments`4">
- <summary>
- Constructor arguments for objects with parameterized ctors with less than 5 parameters.
- This is to avoid boxing for small, immutable objects.
- </summary>
- </member>
- <member name="T:System.Text.Json.ArgumentState">
- <summary>
- Holds relevant state when deserializing objects with parameterized constructors.
- Lives on the current ReadStackFrame.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonSerializer">
- <summary>
- Provides functionality to serialize objects or value types to JSON and
- deserialize JSON into objects or value types.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.Text.Json.JsonDocument,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the <see cref="T:System.Text.Json.JsonDocument"/> representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="document">The <see cref="T:System.Text.Json.JsonDocument"/> to convert.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="document"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- <typeparamref name="TValue" /> is not compatible with the JSON.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.Text.Json.JsonDocument,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the <see cref="T:System.Text.Json.JsonDocument"/> representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="document">The <see cref="T:System.Text.Json.JsonDocument"/> to convert.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="document"/> or <paramref name="returnType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="returnType"/> is not compatible with the JSON.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.Text.Json.JsonDocument,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Converts the <see cref="T:System.Text.Json.JsonDocument"/> representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="document">The <see cref="T:System.Text.Json.JsonDocument"/> to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="document"/> is <see langword="null"/>.
-
- -or-
-
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- <typeparamref name="TValue" /> is not compatible with the JSON.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.Text.Json.JsonDocument,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Converts the <see cref="T:System.Text.Json.JsonDocument"/> representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="document">The <see cref="T:System.Text.Json.JsonDocument"/> to convert.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="document"/> is <see langword="null"/>.
-
- -or-
-
- <paramref name="returnType"/> is <see langword="null"/>.
-
- -or-
-
- <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <paramref name="returnType" /> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the string beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.Text.Json.JsonElement,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the <see cref="T:System.Text.Json.JsonElement"/> representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="element">The <see cref="T:System.Text.Json.JsonElement"/> to convert.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.Text.Json.JsonException">
- <typeparamref name="TValue" /> is not compatible with the JSON.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.Text.Json.JsonElement,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the <see cref="T:System.Text.Json.JsonElement"/> representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="element">The <see cref="T:System.Text.Json.JsonElement"/> to convert.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="returnType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="returnType"/> is not compatible with the JSON.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.Text.Json.JsonElement,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Converts the <see cref="T:System.Text.Json.JsonElement"/> representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="element">The <see cref="T:System.Text.Json.JsonElement"/> to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- <typeparamref name="TValue" /> is not compatible with the JSON.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.Text.Json.JsonElement,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Converts the <see cref="T:System.Text.Json.JsonElement"/> representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="element">The <see cref="T:System.Text.Json.JsonElement"/> to convert.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="returnType"/> is <see langword="null"/>.
-
- -or-
-
- <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <paramref name="returnType" /> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the string beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.Text.Json.Nodes.JsonNode,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the <see cref="T:System.Text.Json.Nodes.JsonNode"/> representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="node">The <see cref="T:System.Text.Json.Nodes.JsonNode"/> to convert.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.Text.Json.JsonException">
- <typeparamref name="TValue" /> is not compatible with the JSON.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.Text.Json.Nodes.JsonNode,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the <see cref="T:System.Text.Json.Nodes.JsonNode"/> representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="node">The <see cref="T:System.Text.Json.Nodes.JsonNode"/> to convert.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.Text.Json.JsonException">
- <paramref name="returnType"/> is not compatible with the JSON.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.Text.Json.Nodes.JsonNode,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Converts the <see cref="T:System.Text.Json.Nodes.JsonNode"/> representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="node">The <see cref="T:System.Text.Json.Nodes.JsonNode"/> to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- <typeparamref name="TValue" /> is not compatible with the JSON.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.Text.Json.Nodes.JsonNode,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Converts the <see cref="T:System.Text.Json.Nodes.JsonNode"/> representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="node">The <see cref="T:System.Text.Json.Nodes.JsonNode"/> to convert.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="returnType"/> is <see langword="null"/>.
-
- -or-
-
- <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <paramref name="returnType" /> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the string beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToDocument``1(``0,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.JsonDocument"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A <see cref="T:System.Text.Json.JsonDocument"/> representation of the JSON value.</returns>
- <param name="value">The value to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToDocument(System.Object,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.JsonDocument"/>.
- </summary>
- <returns>A <see cref="T:System.Text.Json.JsonDocument"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToDocument``1(``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.JsonDocument"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A <see cref="T:System.Text.Json.JsonDocument"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToDocument(System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.JsonDocument"/>.
- </summary>
- <returns>A <see cref="T:System.Text.Json.JsonDocument"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> or <paramref name="context"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToElement``1(``0,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.JsonElement"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A <see cref="T:System.Text.Json.JsonElement"/> representation of the JSON value.</returns>
- <param name="value">The value to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToElement(System.Object,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.JsonElement"/>.
- </summary>
- <returns>A <see cref="T:System.Text.Json.JsonElement"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToElement``1(``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.JsonElement"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A <see cref="T:System.Text.Json.JsonElement"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToElement(System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.JsonElement"/>.
- </summary>
- <returns>A <see cref="T:System.Text.Json.JsonElement"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> or <paramref name="context"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToNode``1(``0,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> representation of the JSON value.</returns>
- <param name="value">The value to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToNode(System.Object,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToNode``1(``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToNode(System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Converts the provided value into a <see cref="T:System.Text.Json.Nodes.JsonNode"/>.
- </summary>
- <returns>A <see cref="T:System.Text.Json.Nodes.JsonNode"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> or <paramref name="context"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.LookupProperty(System.Object,System.ReadOnlySpan{System.Byte},System.Text.Json.ReadStack@,System.Text.Json.JsonSerializerOptions,System.Boolean@,System.Boolean)">
- <summary>
- Lookup the property given its name (obtained from the reader) and return it.
- Also sets state.Current.JsonPropertyInfo to a non-null value.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.ReadOnlySpan{System.Byte},System.Text.Json.JsonSerializerOptions)">
- <summary>
- Parses the UTF-8 encoded text representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON text to parse.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <typeparamref name="TValue"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.ReadOnlySpan{System.Byte},System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Parses the UTF-8 encoded text representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON text to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="returnType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <paramref name="returnType"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.ReadOnlySpan{System.Byte},System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Parses the UTF-8 encoded text representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON text to parse.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <typeparamref name="TValue"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.ReadOnlySpan{System.Byte},System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Parses the UTF-8 encoded text representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON text to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="returnType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <paramref name="returnType"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method on the provided <paramref name="context"/>
- did not return a compatible <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> for <paramref name="returnType"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.DeserializeAsync``1(System.IO.Stream,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
- <summary>
- Reads the UTF-8 encoded text representing a single JSON value into a <typeparamref name="TValue"/>.
- The Stream will be read to completion.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="options">Options to control the behavior during reading.</param>
- <param name="cancellationToken">
- The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the read operation.
- </param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <typeparamref name="TValue"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.IO.Stream,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Reads the UTF-8 encoded text representing a single JSON value into a <typeparamref name="TValue"/>.
- The Stream will be read to completion.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="options">Options to control the behavior during reading.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <typeparamref name="TValue"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.DeserializeAsync(System.IO.Stream,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
- <summary>
- Reads the UTF-8 encoded text representing a single JSON value into a <paramref name="returnType"/>.
- The Stream will be read to completion.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="options">Options to control the behavior during reading.</param>
- <param name="cancellationToken">
- The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the read operation.
- </param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> or <paramref name="returnType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- the <paramref name="returnType"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.IO.Stream,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Reads the UTF-8 encoded text representing a single JSON value into a <paramref name="returnType"/>.
- The Stream will be read to completion.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="options">Options to control the behavior during reading.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> or <paramref name="returnType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- the <paramref name="returnType"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.DeserializeAsync``1(System.IO.Stream,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
- <summary>
- Reads the UTF-8 encoded text representing a single JSON value into a <typeparamref name="TValue"/>.
- The Stream will be read to completion.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <param name="cancellationToken">
- The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the read operation.
- </param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> or <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <typeparamref name="TValue"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.IO.Stream,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Reads the UTF-8 encoded text representing a single JSON value into a <typeparamref name="TValue"/>.
- The Stream will be read to completion.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> or <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <typeparamref name="TValue"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.DeserializeAsync(System.IO.Stream,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)">
- <summary>
- Reads the UTF-8 encoded text representing a single JSON value into a <paramref name="returnType"/>.
- The Stream will be read to completion.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <param name="cancellationToken">
- The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the read operation.
- </param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/>, <paramref name="returnType"/>, or <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- the <paramref name="returnType"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method on the provided <paramref name="context"/>
- did not return a compatible <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> for <paramref name="returnType"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.IO.Stream,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Reads the UTF-8 encoded text representing a single JSON value into a <paramref name="returnType"/>.
- The Stream will be read to completion.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/>, <paramref name="returnType"/>, or <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- the <paramref name="returnType"/> is not compatible with the JSON,
- or when there is remaining data in the Stream.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method on the provided <paramref name="context"/>
- did not return a compatible <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> for <paramref name="returnType"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.DeserializeAsyncEnumerable``1(System.IO.Stream,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
- <summary>
- Wraps the UTF-8 encoded text into an <see cref="T:System.Collections.Generic.IAsyncEnumerable`1" />
- that can be used to deserialize root-level JSON arrays in a streaming manner.
- </summary>
- <typeparam name="TValue">The element type to deserialize asynchronously.</typeparam>
- <returns>An <see cref="T:System.Collections.Generic.IAsyncEnumerable`1" /> representation of the provided JSON array.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="options">Options to control the behavior during reading.</param>
- <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the read operation.</param>
- <returns>An <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.DeserializeAsyncEnumerable``1(System.IO.Stream,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
- <summary>
- Wraps the UTF-8 encoded text into an <see cref="T:System.Collections.Generic.IAsyncEnumerable`1" />
- that can be used to deserialize root-level JSON arrays in a streaming manner.
- </summary>
- <typeparam name="TValue">The element type to deserialize asynchronously.</typeparam>
- <returns>An <see cref="T:System.Collections.Generic.IAsyncEnumerable`1" /> representation of the provided JSON array.</returns>
- <param name="utf8Json">JSON data to parse.</param>
- <param name="jsonTypeInfo">Metadata about the element type to convert.</param>
- <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the read operation.</param>
- <returns>An <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> or <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.String,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Parses the text representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="json">JSON text to parse.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="json"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <typeparamref name="TValue" /> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the string beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using the
- UTF-8 methods since the implementation natively uses UTF-8.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.ReadOnlySpan{System.Char},System.Text.Json.JsonSerializerOptions)">
- <summary>
- Parses the text representing a single JSON value into an instance of the type specified by a generic type parameter.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="json">The JSON text to parse.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <typeparamref name="TValue" /> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the span beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <remarks>Using a UTF-16 span is not as efficient as using the
- UTF-8 methods since the implementation natively uses UTF-8.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.String,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Parses the text representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="json">JSON text to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="json"/> or <paramref name="returnType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <paramref name="returnType"/> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the string beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using the
- UTF-8 methods since the implementation natively uses UTF-8.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.ReadOnlySpan{System.Char},System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Parses the text representing a single JSON value into an instance of a specified type.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="json">The JSON text to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="options">Options to control the behavior during parsing.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="returnType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <paramref name="returnType"/> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the span beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <remarks>Using a UTF-16 span is not as efficient as using the
- UTF-8 methods since the implementation natively uses UTF-8.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.String,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Parses the text representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="json">JSON text to parse.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="json"/> is <see langword="null"/>.
-
- -or-
-
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <typeparamref name="TValue" /> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the string beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using the
- UTF-8 methods since the implementation natively uses UTF-8.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.ReadOnlySpan{System.Char},System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Parses the text representing a single JSON value into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="json">JSON text to parse.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="json"/> is <see langword="null"/>.
-
- -or-
-
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <typeparamref name="TValue" /> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the string beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using the
- UTF-8 methods since the implementation natively uses UTF-8.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.String,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Parses the text representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="json">JSON text to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="json"/> or <paramref name="returnType"/> is <see langword="null"/>.
-
- -or-
-
- <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <paramref name="returnType" /> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the string beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using the
- UTF-8 methods since the implementation natively uses UTF-8.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.ReadOnlySpan{System.Char},System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Parses the text representing a single JSON value into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="json">JSON text to parse.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="json"/> or <paramref name="returnType"/> is <see langword="null"/>.
-
- -or-
-
- <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid.
-
- -or-
-
- <paramref name="returnType" /> is not compatible with the JSON.
-
- -or-
-
- There is remaining data in the string beyond a single JSON value.</exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using the
- UTF-8 methods since the implementation natively uses UTF-8.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.Text.Json.Utf8JsonReader@,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Reads one JSON value (including objects or arrays) from the provided reader into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="reader">The reader to read.</param>
- <param name="options">Options to control the serializer behavior during reading.</param>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <typeparamref name="TValue"/> is not compatible with the JSON,
- or a value could not be read from the reader.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="reader"/> is using unsupported options.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <remarks>
- <para>
- If the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> property of <paramref name="reader"/>
- is <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or <see cref="F:System.Text.Json.JsonTokenType.None"/>, the
- reader will be advanced by one call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/> to determine
- the start of the value.
- </para>
-
- <para>
- Upon completion of this method, <paramref name="reader"/> will be positioned at the
- final token in the JSON value. If an exception is thrown, the reader is reset to
- the state it was in when the method was called.
- </para>
-
- <para>
- This method makes a copy of the data the reader acted on, so there is no caller
- requirement to maintain data integrity beyond the return of this method.
- </para>
-
- <para>
- The <see cref="T:System.Text.Json.JsonReaderOptions"/> used to create the instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/> take precedence over the <see cref="T:System.Text.Json.JsonSerializerOptions"/> when they conflict.
- Hence, <see cref="P:System.Text.Json.JsonReaderOptions.AllowTrailingCommas"/>, <see cref="P:System.Text.Json.JsonReaderOptions.MaxDepth"/>, and <see cref="P:System.Text.Json.JsonReaderOptions.CommentHandling"/> are used while reading.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Reads one JSON value (including objects or arrays) from the provided reader into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="reader">The reader to read.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="options">Options to control the serializer behavior during reading.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="returnType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <paramref name="returnType"/> is not compatible with the JSON,
- or a value could not be read from the reader.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="reader"/> is using unsupported options.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <remarks>
- <para>
- If the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> property of <paramref name="reader"/>
- is <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or <see cref="F:System.Text.Json.JsonTokenType.None"/>, the
- reader will be advanced by one call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/> to determine
- the start of the value.
- </para>
-
- <para>
- Upon completion of this method, <paramref name="reader"/> will be positioned at the
- final token in the JSON value. If an exception is thrown, the reader is reset to
- the state it was in when the method was called.
- </para>
-
- <para>
- This method makes a copy of the data the reader acted on, so there is no caller
- requirement to maintain data integrity beyond the return of this method.
- </para>
- <para>
- The <see cref="T:System.Text.Json.JsonReaderOptions"/> used to create the instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/> take precedence over the <see cref="T:System.Text.Json.JsonSerializerOptions"/> when they conflict.
- Hence, <see cref="P:System.Text.Json.JsonReaderOptions.AllowTrailingCommas"/>, <see cref="P:System.Text.Json.JsonReaderOptions.MaxDepth"/>, and <see cref="P:System.Text.Json.JsonReaderOptions.CommentHandling"/> are used while reading.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize``1(System.Text.Json.Utf8JsonReader@,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Reads one JSON value (including objects or arrays) from the provided reader into a <typeparamref name="TValue"/>.
- </summary>
- <typeparam name="TValue">The type to deserialize the JSON value into.</typeparam>
- <returns>A <typeparamref name="TValue"/> representation of the JSON value.</returns>
- <param name="reader">The reader to read.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <typeparamref name="TValue"/> is not compatible with the JSON,
- or a value could not be read from the reader.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="reader"/> is using unsupported options.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <remarks>
- <para>
- If the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> property of <paramref name="reader"/>
- is <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or <see cref="F:System.Text.Json.JsonTokenType.None"/>, the
- reader will be advanced by one call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/> to determine
- the start of the value.
- </para>
-
- <para>
- Upon completion of this method, <paramref name="reader"/> will be positioned at the
- final token in the JSON value. If an exception is thrown, the reader is reset to
- the state it was in when the method was called.
- </para>
-
- <para>
- This method makes a copy of the data the reader acted on, so there is no caller
- requirement to maintain data integrity beyond the return of this method.
- </para>
-
- <para>
- The <see cref="T:System.Text.Json.JsonReaderOptions"/> used to create the instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/> take precedence over the <see cref="T:System.Text.Json.JsonSerializerOptions"/> when they conflict.
- Hence, <see cref="P:System.Text.Json.JsonReaderOptions.AllowTrailingCommas"/>, <see cref="P:System.Text.Json.JsonReaderOptions.MaxDepth"/>, and <see cref="P:System.Text.Json.JsonReaderOptions.CommentHandling"/> are used while reading.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Deserialize(System.Text.Json.Utf8JsonReader@,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Reads one JSON value (including objects or arrays) from the provided reader into a <paramref name="returnType"/>.
- </summary>
- <returns>A <paramref name="returnType"/> representation of the JSON value.</returns>
- <param name="reader">The reader to read.</param>
- <param name="returnType">The type of the object to convert to and return.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="returnType"/> or <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.Text.Json.JsonException">
- The JSON is invalid,
- <paramref name="returnType"/> is not compatible with the JSON,
- or a value could not be read from the reader.
- </exception>
- <exception cref="T:System.ArgumentException">
- <paramref name="reader"/> is using unsupported options.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="returnType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method on the provided <paramref name="context"/>
- did not return a compatible <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> for <paramref name="returnType"/>.
- </exception>
- <remarks>
- <para>
- If the <see cref="P:System.Text.Json.Utf8JsonReader.TokenType"/> property of <paramref name="reader"/>
- is <see cref="F:System.Text.Json.JsonTokenType.PropertyName"/> or <see cref="F:System.Text.Json.JsonTokenType.None"/>, the
- reader will be advanced by one call to <see cref="M:System.Text.Json.Utf8JsonReader.Read"/> to determine
- the start of the value.
- </para>
-
- <para>
- Upon completion of this method, <paramref name="reader"/> will be positioned at the
- final token in the JSON value. If an exception is thrown, the reader is reset to
- the state it was in when the method was called.
- </para>
-
- <para>
- This method makes a copy of the data the reader acted on, so there is no caller
- requirement to maintain data integrity beyond the return of this method.
- </para>
- <para>
- The <see cref="T:System.Text.Json.JsonReaderOptions"/> used to create the instance of the <see cref="T:System.Text.Json.Utf8JsonReader"/> take precedence over the <see cref="T:System.Text.Json.JsonSerializerOptions"/> when they conflict.
- Hence, <see cref="P:System.Text.Json.JsonReaderOptions.AllowTrailingCommas"/>, <see cref="P:System.Text.Json.JsonReaderOptions.MaxDepth"/>, and <see cref="P:System.Text.Json.JsonReaderOptions.CommentHandling"/> are used while reading.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToUtf8Bytes``1(``0,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.Byte"/> array.
- </summary>
- <returns>A UTF-8 representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(System.Object,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.Byte"/> array.
- </summary>
- <returns>A UTF-8 representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToUtf8Bytes``1(``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Converts the provided value into a <see cref="T:System.Byte"/> array.
- </summary>
- <returns>A UTF-8 representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Converts the provided value into a <see cref="T:System.Byte"/> array.
- </summary>
- <returns>A UTF-8 representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.TryGetReferenceForValue(System.Object,System.Text.Json.WriteStack@,System.Text.Json.Utf8JsonWriter)">
- <summary>
- Compute reference id for the next value to be serialized.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.WriteCore``1(System.Text.Json.Utf8JsonWriter,``0@,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Sync, strongly typed root value serialization helper.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.WriteCoreAsObject(System.Text.Json.Utf8JsonWriter,System.Object,System.Text.Json.Serialization.Metadata.JsonTypeInfo)">
- <summary>
- Sync, untyped root value serialization helper.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.WriteCore``1(System.Text.Json.Utf8JsonWriter,``0@,System.Text.Json.Serialization.Metadata.JsonTypeInfo,System.Text.Json.WriteStack@)">
- <summary>
- Streaming root-level serialization helper.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeAsync``1(System.IO.Stream,``0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
- <summary>
- Converts the provided value to UTF-8 encoded JSON text and write it to the <see cref="T:System.IO.Stream"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A task that represents the asynchronous write operation.</returns>
- <param name="utf8Json">The UTF-8 <see cref="T:System.IO.Stream"/> to write to.</param>
- <param name="value">The value to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the write operation.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize``1(System.IO.Stream,``0,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value to UTF-8 encoded JSON text and write it to the <see cref="T:System.IO.Stream"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <param name="utf8Json">The UTF-8 <see cref="T:System.IO.Stream"/> to write to.</param>
- <param name="value">The value to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeAsync(System.IO.Stream,System.Object,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)">
- <summary>
- Converts the provided value to UTF-8 encoded JSON text and write it to the <see cref="T:System.IO.Stream"/>.
- </summary>
- <returns>A task that represents the asynchronous write operation.</returns>
- <param name="utf8Json">The UTF-8 <see cref="T:System.IO.Stream"/> to write to.</param>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the write operation.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> or <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize(System.IO.Stream,System.Object,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value to UTF-8 encoded JSON text and write it to the <see cref="T:System.IO.Stream"/>.
- </summary>
- <param name="utf8Json">The UTF-8 <see cref="T:System.IO.Stream"/> to write to.</param>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> or <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeAsync``1(System.IO.Stream,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)">
- <summary>
- Converts the provided value to UTF-8 encoded JSON text and write it to the <see cref="T:System.IO.Stream"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A task that represents the asynchronous write operation.</returns>
- <param name="utf8Json">The UTF-8 <see cref="T:System.IO.Stream"/> to write to.</param>
- <param name="value">The value to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the write operation.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize``1(System.IO.Stream,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Converts the provided value to UTF-8 encoded JSON text and write it to the <see cref="T:System.IO.Stream"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <param name="utf8Json">The UTF-8 <see cref="T:System.IO.Stream"/> to write to.</param>
- <param name="value">The value to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.SerializeAsync(System.IO.Stream,System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)">
- <summary>
- Converts the provided value to UTF-8 encoded JSON text and write it to the <see cref="T:System.IO.Stream"/>.
- </summary>
- <returns>A task that represents the asynchronous write operation.</returns>
- <param name="utf8Json">The UTF-8 <see cref="T:System.IO.Stream"/> to write to.</param>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> that can be used to cancel the write operation.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/>, <paramref name="inputType"/>, or <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize(System.IO.Stream,System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Converts the provided value to UTF-8 encoded JSON text and write it to the <see cref="T:System.IO.Stream"/>.
- </summary>
- <param name="utf8Json">The UTF-8 <see cref="T:System.IO.Stream"/> to write to.</param>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="utf8Json"/>, <paramref name="inputType"/>, or <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize``1(``0,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.String"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A <see cref="T:System.String"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using UTF-8
- encoding since the implementation internally uses UTF-8. See also <see cref="M:System.Text.Json.JsonSerializer.SerializeToUtf8Bytes``1(``0,System.Text.Json.JsonSerializerOptions)"/>
- and <see cref="M:System.Text.Json.JsonSerializer.SerializeAsync``1(System.IO.Stream,``0,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)"/>.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize(System.Object,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Converts the provided value into a <see cref="T:System.String"/>.
- </summary>
- <returns>A <see cref="T:System.String"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="options">Options to control the conversion behavior.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using UTF-8
- encoding since the implementation internally uses UTF-8. See also <see cref="M:System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(System.Object,System.Type,System.Text.Json.JsonSerializerOptions)"/>
- and <see cref="M:System.Text.Json.JsonSerializer.SerializeAsync(System.IO.Stream,System.Object,System.Type,System.Text.Json.JsonSerializerOptions,System.Threading.CancellationToken)"/>.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize``1(``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Converts the provided value into a <see cref="T:System.String"/>.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <returns>A <see cref="T:System.String"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using UTF-8
- encoding since the implementation internally uses UTF-8. See also <see cref="M:System.Text.Json.JsonSerializer.SerializeToUtf8Bytes``1(``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})"/>
- and <see cref="M:System.Text.Json.JsonSerializer.SerializeAsync``1(System.IO.Stream,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0},System.Threading.CancellationToken)"/>.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize(System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Converts the provided value into a <see cref="T:System.String"/>.
- </summary>
- <returns>A <see cref="T:System.String"/> representation of the value.</returns>
- <param name="value">The value to convert.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="inputType"/> or <paramref name="context"/> is <see langword="null"/>.
- </exception>
- <remarks>Using a <see cref="T:System.String"/> is not as efficient as using UTF-8
- encoding since the implementation internally uses UTF-8. See also <see cref="M:System.Text.Json.JsonSerializer.SerializeToUtf8Bytes(System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext)"/>
- and <see cref="M:System.Text.Json.JsonSerializer.SerializeAsync(System.IO.Stream,System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext,System.Threading.CancellationToken)"/>.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize``1(System.Text.Json.Utf8JsonWriter,``0,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Writes one JSON value (including objects or arrays) to the provided writer.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <param name="writer">The writer to write.</param>
- <param name="value">The value to convert and write.</param>
- <param name="options">Options to control the behavior.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="writer"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize(System.Text.Json.Utf8JsonWriter,System.Object,System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Writes one JSON value (including objects or arrays) to the provided writer.
- </summary>
- <param name="writer"></param>
- <param name="value">The value to convert and write.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="options">Options to control the behavior.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="writer"/> or <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize``1(System.Text.Json.Utf8JsonWriter,``0,System.Text.Json.Serialization.Metadata.JsonTypeInfo{``0})">
- <summary>
- Writes one JSON value (including objects or arrays) to the provided writer.
- </summary>
- <typeparam name="TValue">The type of the value to serialize.</typeparam>
- <param name="writer">The writer to write.</param>
- <param name="value">The value to convert and write.</param>
- <param name="jsonTypeInfo">Metadata about the type to convert.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="writer"/> or <paramref name="jsonTypeInfo"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <typeparamref name="TValue"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializer.Serialize(System.Text.Json.Utf8JsonWriter,System.Object,System.Type,System.Text.Json.Serialization.JsonSerializerContext)">
- <summary>
- Writes one JSON value (including objects or arrays) to the provided writer.
- </summary>
- <param name="writer"></param>
- <param name="value">The value to convert and write.</param>
- <param name="inputType">The type of the <paramref name="value"/> to convert.</param>
- <param name="context">A metadata provider for serializable types.</param>
- <exception cref="T:System.ArgumentException">
- <paramref name="inputType"/> is not compatible with <paramref name="value"/>.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="writer"/> or <paramref name="inputType"/> is <see langword="null"/>.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="inputType"/> or its serializable members.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- The <see cref="M:System.Text.Json.Serialization.JsonSerializerContext.GetTypeInfo(System.Type)"/> method of the provided
- <paramref name="context"/> returns <see langword="null"/> for the type to convert.
- </exception>
- </member>
- <member name="F:System.Text.Json.PolymorphicSerializationState.PolymorphicReEntryStarted">
- <summary>
- Dispatch to a derived converter has been initiated.
- </summary>
- </member>
- <member name="F:System.Text.Json.PolymorphicSerializationState.PolymorphicReEntrySuspended">
- <summary>
- Current frame is a continuation using a suspended derived converter.
- </summary>
- </member>
- <member name="F:System.Text.Json.PolymorphicSerializationState.PolymorphicReEntryNotFound">
- <summary>
- Current frame is a polymorphic converter that couldn't resolve a derived converter.
- (E.g. because the runtime type matches the declared type).
- </summary>
- </member>
- <member name="T:System.Text.Json.Utf8JsonWriterCache">
- <summary>
- Defines a thread-local cache for JsonSerializer to store reusable Utf8JsonWriter/IBufferWriter instances.
- </summary>
- </member>
- <member name="T:System.Text.Json.ConverterStrategy">
- <summary>
- Determines how a given class is treated when it is (de)serialized.
- </summary>
- <remarks>
- Although bit flags are used, a given ConverterStrategy can only be one value.
- Bit flags are used to efficiently compare against more than one value.
- </remarks>
- </member>
- <member name="F:System.Text.Json.ConverterStrategy.None">
- <summary>
- Default value; not used by any converter.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConverterStrategy.Object">
- <summary>
- Objects with properties.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConverterStrategy.Value">
- <summary>
- Simple values or user-provided custom converters.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConverterStrategy.Enumerable">
- <summary>
- Enumerable collections except dictionaries.
- </summary>
- </member>
- <member name="F:System.Text.Json.ConverterStrategy.Dictionary">
- <summary>
- Dictionary types.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonSerializerDefaults">
- <summary>
- Signifies what default options are used by <see cref="T:System.Text.Json.JsonSerializerOptions"/>.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonSerializerDefaults.General">
- <summary>
- Specifies that general-purpose values should be used. These are the same settings applied if a <see cref="T:System.Text.Json.JsonSerializerDefaults"/> isn't specified.
- </summary>
- <remarks>
- This option implies that property names are treated as case-sensitive and that "PascalCase" name formatting should be employed.
- </remarks>
- </member>
- <member name="F:System.Text.Json.JsonSerializerDefaults.Web">
- <summary>
- Specifies that values should be used more appropriate to web-based scenarios.
- </summary>
- <remarks>
- This option implies that property names are treated as case-insensitive and that "camelCase" name formatting should be employed.
- </remarks>
- </member>
- <member name="T:System.Text.Json.JsonSerializerOptions">
- <summary>
- Provides options to be used with <see cref="T:System.Text.Json.JsonSerializer"/>.
- </summary>
- <summary>
- Provides options to be used with <see cref="T:System.Text.Json.JsonSerializer"/>.
- </summary>
- </member>
- <member name="F:System.Text.Json.JsonSerializerOptions._cachingContext">
- <summary>
- Encapsulates all cached metadata referenced by the current <see cref="T:System.Text.Json.JsonSerializerOptions" /> instance.
- Context can be shared across multiple equivalent options instances.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.GetTypeInfo(System.Type)">
- <summary>
- Gets the <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> contract metadata resolved by the current <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance.
- </summary>
- <param name="type">The type to resolve contract metadata for.</param>
- <returns>The contract metadata resolved for <paramref name="type"/>.</returns>
- <exception cref="T:System.ArgumentNullException"><paramref name="type"/> is <see langword="null"/>.</exception>
- <exception cref="T:System.ArgumentException"><paramref name="type"/> is not valid for serialization.</exception>
- <remarks>
- Returned metadata can be downcast to <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo`1"/> and used with the relevant <see cref="T:System.Text.Json.JsonSerializer"/> overloads.
-
- If the <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance is locked for modification, the method will return a cached instance for the metadata.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.GetTypeInfoInternal(System.Type,System.Boolean,System.Boolean)">
- <summary>
- Same as GetTypeInfo but without validation and additional knobs.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.GetTypeInfoForRootType(System.Type)">
- <summary>
- Return the TypeInfo for root API calls.
- This has an LRU cache that is intended only for public API calls that specify the root type.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonSerializerOptions.CachingContext">
- <summary>
- Stores and manages all reflection caches for one or more <see cref="T:System.Text.Json.JsonSerializerOptions"/> instances.
- NB the type encapsulates the original options instance and only consults that one when building new types;
- this is to prevent multiple options instances from leaking into the object graphs of converters which
- could break user invariants.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonSerializerOptions.TrackedCachingContexts">
- <summary>
- Defines a cache of CachingContexts; instead of using a ConditionalWeakTable which can be slow to traverse
- this approach uses a fixed-size array of weak references of <see cref="T:System.Text.Json.JsonSerializerOptions.CachingContext"/> that can be looked up lock-free.
- Relevant caching contexts are looked up by linear traversal using the equality comparison defined by <see cref="T:System.Text.Json.JsonSerializerOptions.EqualityComparer"/>.
- </summary>
- </member>
- <member name="T:System.Text.Json.JsonSerializerOptions.EqualityComparer">
- <summary>
- Provides a conservative equality comparison for JsonSerializerOptions instances.
- If two instances are equivalent, they should generate identical metadata caches;
- the converse however does not necessarily hold.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.Converters">
- <summary>
- The list of custom converters.
- </summary>
- <remarks>
- Once serialization or deserialization occurs, the list cannot be modified.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.GetConverter(System.Type)">
- <summary>
- Returns the converter for the specified type.
- </summary>
- <param name="typeToConvert">The type to return a converter for.</param>
- <returns>
- The converter for the given type.
- </returns>
- <exception cref="T:System.InvalidOperationException">
- The configured <see cref="T:System.Text.Json.Serialization.JsonConverter"/> for <paramref name="typeToConvert"/> returned an invalid converter.
- </exception>
- <exception cref="T:System.NotSupportedException">
- There is no compatible <see cref="T:System.Text.Json.Serialization.JsonConverter"/>
- for <paramref name="typeToConvert"/> or its serializable members.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.GetConverterInternal(System.Type)">
- <summary>
- Same as GetConverter but without defaulting to reflection converters.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.Default">
- <summary>
- Gets a read-only, singleton instance of <see cref="T:System.Text.Json.JsonSerializerOptions" /> that uses the default configuration.
- </summary>
- <remarks>
- Each <see cref="T:System.Text.Json.JsonSerializerOptions" /> instance encapsulates its own serialization metadata caches,
- so using fresh default instances every time one is needed can result in redundant recomputation of converters.
- This property provides a shared instance that can be consumed by any number of components without necessitating any converter recomputation.
- </remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.#ctor">
- <summary>
- Constructs a new <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.#ctor(System.Text.Json.JsonSerializerOptions)">
- <summary>
- Copies the options from a <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance to a new instance.
- </summary>
- <param name="options">The <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance to copy options from.</param>
- <exception cref="T:System.ArgumentNullException">
- <paramref name="options"/> is <see langword="null"/>.
- </exception>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.TrackOptionsInstance(System.Text.Json.JsonSerializerOptions)">
- <summary>Tracks the options instance to enable all instances to be enumerated.</summary>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.TrackedOptionsInstances.All">
- <summary>Tracks all live JsonSerializerOptions instances.</summary>
- <remarks>Instances are added to the table in their constructor.</remarks>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.#ctor(System.Text.Json.JsonSerializerDefaults)">
- <summary>
- Constructs a new <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance with a predefined set of options determined by the specified <see cref="T:System.Text.Json.JsonSerializerDefaults"/>.
- </summary>
- <param name="defaults"> The <see cref="T:System.Text.Json.JsonSerializerDefaults"/> to reason about.</param>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.AddContext``1">
- <summary>
- Binds current <see cref="T:System.Text.Json.JsonSerializerOptions"/> instance with a new instance of the specified <see cref="T:System.Text.Json.Serialization.JsonSerializerContext"/> type.
- </summary>
- <typeparam name="TContext">The generic definition of the specified context type.</typeparam>
- <remarks>
- When serializing and deserializing types using the options
- instance, metadata for the types will be fetched from the context instance.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.TypeInfoResolver">
- <summary>
- Gets or sets the <see cref="T:System.Text.Json.Serialization.Metadata.JsonTypeInfo"/> contract resolver used by this instance.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- <remarks>
- A <see langword="null"/> setting is equivalent to using the reflection-based <see cref="T:System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver" />.
- The property will be populated automatically once used with one of the <see cref="T:System.Text.Json.JsonSerializer"/> methods.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.AllowTrailingCommas">
- <summary>
- Defines whether an extra comma at the end of a list of JSON values in an object or array
- is allowed (and ignored) within the JSON payload being deserialized.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- <remarks>
- By default, it's set to false, and <exception cref="T:System.Text.Json.JsonException"/> is thrown if a trailing comma is encountered.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.DefaultBufferSize">
- <summary>
- The default buffer size in bytes used when creating temporary buffers.
- </summary>
- <remarks>The default size is 16K.</remarks>
- <exception cref="T:System.ArgumentException">Thrown when the buffer size is less than 1.</exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.Encoder">
- <summary>
- The encoder to use when escaping strings, or <see langword="null" /> to use the default encoder.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.DictionaryKeyPolicy">
- <summary>
- Specifies the policy used to convert a <see cref="T:System.Collections.IDictionary"/> key's name to another format, such as camel-casing.
- </summary>
- <remarks>
- This property can be set to <see cref="P:System.Text.Json.JsonNamingPolicy.CamelCase"/> to specify a camel-casing policy.
- It is not used when deserializing.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.IgnoreNullValues">
- <summary>
- Determines whether null values are ignored during serialization and deserialization.
- The default value is false.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- or <see cref="P:System.Text.Json.JsonSerializerOptions.DefaultIgnoreCondition"/> has been set to a non-default value. These properties cannot be used together.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.DefaultIgnoreCondition">
- <summary>
- Specifies a condition to determine when properties with default values are ignored during serialization or deserialization.
- The default value is <see cref="F:System.Text.Json.Serialization.JsonIgnoreCondition.Never" />.
- </summary>
- <exception cref="T:System.ArgumentException">
- Thrown if this property is set to <see cref="F:System.Text.Json.Serialization.JsonIgnoreCondition.Always"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred,
- or <see cref="P:System.Text.Json.JsonSerializerOptions.IgnoreNullValues"/> has been set to <see langword="true"/>. These properties cannot be used together.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.NumberHandling">
- <summary>
- Specifies how number types should be handled when serializing or deserializing.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.IgnoreReadOnlyProperties">
- <summary>
- Determines whether read-only properties are ignored during serialization.
- A property is read-only if it contains a public getter but not a public setter.
- The default value is false.
- </summary>
- <remarks>
- Read-only properties are not deserialized regardless of this setting.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.IgnoreReadOnlyFields">
- <summary>
- Determines whether read-only fields are ignored during serialization.
- A field is read-only if it is marked with the <c>readonly</c> keyword.
- The default value is false.
- </summary>
- <remarks>
- Read-only fields are not deserialized regardless of this setting.
- </remarks>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.IncludeFields">
- <summary>
- Determines whether fields are handled on serialization and deserialization.
- The default value is false.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.MaxDepth">
- <summary>
- Gets or sets the maximum depth allowed when serializing or deserializing JSON, with the default (i.e. 0) indicating a max depth of 64.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- Thrown when the max depth is set to a negative value.
- </exception>
- <remarks>
- Going past this depth will throw a <exception cref="T:System.Text.Json.JsonException"/>.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.PropertyNamingPolicy">
- <summary>
- Specifies the policy used to convert a property's name on an object to another format, such as camel-casing.
- The resulting property name is expected to match the JSON payload during deserialization, and
- will be used when writing the property name during serialization.
- </summary>
- <remarks>
- The policy is not used for properties that have a <see cref="T:System.Text.Json.Serialization.JsonPropertyNameAttribute"/> applied.
- This property can be set to <see cref="P:System.Text.Json.JsonNamingPolicy.CamelCase"/> to specify a camel-casing policy.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.PropertyNameCaseInsensitive">
- <summary>
- Determines whether a property's name uses a case-insensitive comparison during deserialization.
- The default value is false.
- </summary>
- <remarks>There is a performance cost associated when the value is true.</remarks>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.ReadCommentHandling">
- <summary>
- Defines how the comments are handled during deserialization.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- <exception cref="T:System.ArgumentOutOfRangeException">
- Thrown when the comment handling enum is set to a value that is not supported (or not within the <see cref="T:System.Text.Json.JsonCommentHandling"/> enum range).
- </exception>
- <remarks>
- By default <exception cref="T:System.Text.Json.JsonException"/> is thrown if a comment is encountered.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.UnknownTypeHandling">
- <summary>
- Defines how deserializing a type declared as an <see cref="T:System.Object"/> is handled during deserialization.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.WriteIndented">
- <summary>
- Defines whether JSON should pretty print which includes:
- indenting nested JSON tokens, adding new lines, and adding white space between property names and values.
- By default, the JSON is serialized without any extra white space.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this property is set after serialization or deserialization has occurred.
- </exception>
- </member>
- <member name="P:System.Text.Json.JsonSerializerOptions.ReferenceHandler">
- <summary>
- Configures how object references are handled when reading and writing JSON.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonSerializerOptions.InitializeForReflectionSerializer">
- <summary>
- Initializes the converters for the reflection-based serializer.
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack.Current">
- <summary>
- Exposes the stackframe that is currently active.
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack._stack">
- <summary>
- Buffer containing all frames in the stack. For performance it is only populated for serialization depths > 1.
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack._count">
- <summary>
- Tracks the current depth of the stack.
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack._continuationCount">
- <summary>
- If not zero, indicates that the stack is part of a re-entrant continuation of given depth.
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack.BytesConsumed">
- <summary>
- Bytes consumed in the current loop.
- </summary>
- </member>
- <member name="P:System.Text.Json.ReadStack.IsContinuation">
- <summary>
- Indicates that the state still contains suspended frames waiting re-entry.
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack.ReadAhead">
- <summary>
- Internal flag to let us know that we need to read ahead in the inner read loop.
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack.SupportContinuation">
- <summary>
- Whether we need to read ahead in the inner read loop.
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack.ReferenceId">
- <summary>
- Holds the value of $id or $ref of the currently read object
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack.PolymorphicTypeDiscriminator">
- <summary>
- Holds the value of $type of the currently read object
- </summary>
- </member>
- <member name="F:System.Text.Json.ReadStack.PreserveReferences">
- <summary>
- Global flag indicating whether we can read preserved references.
- </summary>
- </member>
- <member name="M:System.Text.Json.ReadStack.EnsurePushCapacity">
- <summary>
- Ensures that the stack buffer has sufficient capacity to hold an additional frame.
- </summary>
- </member>
- <member name="M:System.Text.Json.ReadStack.InitializePolymorphicReEntry(System.Text.Json.Serialization.Metadata.JsonTypeInfo)">
- <summary>
- Configures the current stack frame for a polymorphic converter.
- </summary>
- </member>
- <member name="M:System.Text.Json.ReadStack.ResumePolymorphicReEntry">
- <summary>
- Configures the current frame for a continuation of a polymorphic converter.
- </summary>
- </member>
- <member name="M:System.Text.Json.ReadStack.ExitPolymorphicConverter(System.Boolean)">
- <summary>
- Updates frame state after a polymorphic converter has returned.
- </summary>
- </member>
- <member name="M:System.Text.Json.ReadStackFrame.IsProcessingDictionary">
- <summary>
- Is the current object a Dictionary.
- </summary>
- </member>
- <member name="M:System.Text.Json.ReadStackFrame.IsProcessingEnumerable">
- <summary>
- Is the current object an Enumerable.
- </summary>
- </member>
- <member name="T:System.Text.Json.StackFrameObjectState">
- <summary>
- The current state of an object or collection that supports continuation.
- The values are typically compared with the less-than operator so the ordering is important.
- </summary>
- </member>
- <member name="T:System.Text.Json.StackFramePropertyState">
- <summary>
- The current state of a property that supports continuation.
- The values are typically compared with the less-than operator so the ordering is important.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.Current">
- <summary>
- Exposes the stackframe that is currently active.
- </summary>
- </member>
- <member name="P:System.Text.Json.WriteStack.Parent">
- <summary>
- Gets the parent stackframe, if it exists.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack._stack">
- <summary>
- Buffer containing all frames in the stack. For performance it is only populated for serialization depths > 1.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack._count">
- <summary>
- Tracks the current depth of the stack.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack._continuationCount">
- <summary>
- If not zero, indicates that the stack is part of a re-entrant continuation of given depth.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack._indexOffset">
- <summary>
- Offset used to derive the index of the current frame in the stack buffer from the current value of <see cref="F:System.Text.Json.WriteStack._count"/>,
- following the formula currentIndex := _count - _indexOffset.
- Value can vary between 0 or 1 depending on whether we need to allocate a new frame on the first Push() operation,
- which can happen if the root converter is polymorphic.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.CancellationToken">
- <summary>
- Cancellation token used by converters performing async serialization (e.g. IAsyncEnumerable)
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.SuppressFlush">
- <summary>
- In the case of async serialization, used by resumable converters to signal that
- the current buffer contents should not be flushed to the underlying stream.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.PendingTask">
- <summary>
- Stores a pending task that a resumable converter depends on to continue work.
- It must be awaited by the root context before serialization is resumed.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.CompletedAsyncDisposables">
- <summary>
- List of completed IAsyncDisposables that have been scheduled for disposal by converters.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.FlushThreshold">
- <summary>
- The amount of bytes to write before the underlying Stream should be flushed and the
- current buffer adjusted to remove the processed bytes.
- </summary>
- </member>
- <member name="P:System.Text.Json.WriteStack.IsContinuation">
- <summary>
- Indicates that the state still contains suspended frames waiting re-entry.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.IsPolymorphicRootValue">
- <summary>
- Indicates that the root-level JsonTypeInfo is the result of
- polymorphic dispatch from the internal System.Object converter.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.SupportContinuation">
- <summary>
- Internal flag to let us know that we need to read ahead in the inner read loop.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.SupportAsync">
- <summary>
- Internal flag indicating that async serialization is supported. Implies `SupportContinuation`.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.NewReferenceId">
- <summary>
- Stores a reference id that has been calculated for a newly serialized object.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStack.PolymorphicTypeDiscriminator">
- <summary>
- Indicates that the next converter is polymorphic and must serialize a type discriminator.
- </summary>
- </member>
- <member name="P:System.Text.Json.WriteStack.CurrentContainsMetadata">
- <summary>
- Whether the current frame needs to write out any metadata.
- </summary>
- </member>
- <member name="M:System.Text.Json.WriteStack.PeekNestedJsonTypeInfo">
- <summary>
- Gets the nested JsonTypeInfo before resolving any polymorphic converters
- </summary>
- </member>
- <member name="M:System.Text.Json.WriteStack.DisposePendingDisposablesOnException">
- <summary>
- Walks the stack cleaning up any leftover IDisposables
- in the event of an exception on serialization
- </summary>
- </member>
- <member name="M:System.Text.Json.WriteStack.DisposePendingDisposablesOnExceptionAsync">
- <summary>
- Walks the stack cleaning up any leftover I(Async)Disposables
- in the event of an exception on async serialization
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStackFrame.CollectionEnumerator">
- <summary>
- The enumerator for resumable collections.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStackFrame.AsyncDisposable">
- <summary>
- The enumerator for resumable async disposables.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStackFrame.AsyncEnumeratorIsPendingCompletion">
- <summary>
- The current stackframe has suspended serialization due to a pending task,
- stored in the <see cref="F:System.Text.Json.WriteStack.PendingTask"/> property.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStackFrame.JsonPropertyInfo">
- <summary>
- The original JsonPropertyInfo that is not changed. It contains all properties.
- </summary>
- <remarks>
- For objects, it is either the actual (real) JsonPropertyInfo or the <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.PropertyInfoForTypeInfo"/> for the class.
- For collections, it is the <see cref="P:System.Text.Json.Serialization.Metadata.JsonTypeInfo.PropertyInfoForTypeInfo"/> for the class and current element.
- </remarks>
- </member>
- <member name="F:System.Text.Json.WriteStackFrame.IsWritingExtensionDataProperty">
- <summary>
- Used when processing extension data dictionaries.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStackFrame.JsonTypeInfo">
- <summary>
- The class (POCO or IEnumerable) that is being populated.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStackFrame.OriginalDepth">
- <summary>
- Validation state for a class.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStackFrame.PropertyState">
- <summary>
- Property or Element state.
- </summary>
- </member>
- <member name="F:System.Text.Json.WriteStackFrame.EnumeratorIndex">
- <summary>
- The enumerator index for resumable collections.
- </summary>
- </member>
- <member name="M:System.Text.Json.WriteStackFrame.GetNestedJsonTypeInfo">
- <summary>
- Returns the JsonTypeInfo instance for the nested value we are trying to access.
- </summary>
- </member>
- <member name="M:System.Text.Json.WriteStackFrame.InitializePolymorphicReEntry(System.Type,System.Text.Json.JsonSerializerOptions)">
- <summary>
- Configures the next stack frame for a polymorphic converter.
- </summary>
- </member>
- <member name="M:System.Text.Json.WriteStackFrame.InitializePolymorphicReEntry(System.Text.Json.Serialization.Metadata.JsonTypeInfo)">
- <summary>
- Configures the next stack frame for a polymorphic converter.
- </summary>
- </member>
- <member name="M:System.Text.Json.WriteStackFrame.ResumePolymorphicReEntry">
- <summary>
- Configures the next frame for a continuation of a polymorphic converter.
- </summary>
- </member>
- <member name="M:System.Text.Json.WriteStackFrame.ExitPolymorphicConverter(System.Boolean)">
- <summary>
- Updates frame state after a polymorphic converter has returned.
- </summary>
- </member>
- <member name="M:System.Text.Json.JsonWriterHelper.ToUtf8(System.ReadOnlySpan{System.Byte},System.Span{System.Byte},System.Int32@,System.Int32@)">
- <summary>
- Converts a span containing a sequence of UTF-16 bytes into UTF-8 bytes.
-
- This method will consume as many of the input bytes as possible.
-
- On successful exit, the entire input was consumed and encoded successfully. In this case, <paramref name="bytesConsumed"/> will be
- equal to the length of the <paramref name="utf16Source"/> and <paramref name="bytesWritten"/> will equal the total number of bytes written to
- the <paramref name="utf8Destination"/>.
- </summary>
- <param name="utf16Source">A span containing a sequence of UTF-16 bytes.</param>
- <param name="utf8Destination">A span to write the UTF-8 bytes into.</param>
- <param name="bytesConsumed">On exit, contains the number of bytes that were consumed from the <paramref name="utf16Source"/>.</param>
- <param name="bytesWritten">On exit, contains the number of bytes written to <paramref name="utf8Destination"/></param>
- <returns>A <see cref="T:System.Buffers.OperationStatus"/> value representing the state of the conversion.</returns>
- </member>
- <member name="T:System.Text.Json.JsonWriterOptions">
- <summary>
- Provides the ability for the user to define custom behavior when writing JSON
- using the <see cref="T:System.Text.Json.Utf8JsonWriter"/>. By default, the JSON is written without
- any indentation or extra white space. Also, the <see cref="T:System.Text.Json.Utf8JsonWriter"/> will
- throw an exception if the user attempts to write structurally invalid JSON.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonWriterOptions.Encoder">
- <summary>
- The encoder to use when escaping strings, or <see langword="null" /> to use the default encoder.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonWriterOptions.Indented">
- <summary>
- Defines whether the <see cref="T:System.Text.Json.Utf8JsonWriter"/> should pretty print the JSON which includes:
- indenting nested JSON tokens, adding new lines, and adding white space between property names and values.
- By default, the JSON is written without any extra white space.
- </summary>
- </member>
- <member name="P:System.Text.Json.JsonWriterOptions.MaxDepth">
- <summary>
- Gets or sets the maximum depth allowed when writing JSON, with the default (i.e. 0) indicating a max depth of 1000.
- </summary>
- <exception cref="T:System.ArgumentOutOfRangeException">
- Thrown when the max depth is set to a negative value.
- </exception>
- <remarks>
- Reading past this depth will throw a <exception cref="T:System.Text.Json.JsonException"/>.
- </remarks>
- </member>
- <member name="P:System.Text.Json.JsonWriterOptions.SkipValidation">
- <summary>
- Defines whether the <see cref="T:System.Text.Json.Utf8JsonWriter"/> should skip structural validation and allow
- the user to write invalid JSON, when set to true. If set to false, any attempts to write invalid JSON will result in
- a <exception cref="T:System.InvalidOperationException"/> to be thrown.
- </summary>
- <remarks>
- If the JSON being written is known to be correct,
- then skipping validation (by setting it to true) could improve performance.
- An example of invalid JSON where the writer will throw (when SkipValidation
- is set to false) is when you write a value within a JSON object
- without a property name.
- </remarks>
- </member>
- <member name="T:System.Text.Json.Utf8JsonWriter">
- <summary>
- Provides a high-performance API for forward-only, non-cached writing of UTF-8 encoded JSON text.
- </summary>
- <remarks>
- <para>
- It writes the text sequentially with no caching and adheres to the JSON RFC
- by default (https://tools.ietf.org/html/rfc8259), with the exception of writing comments.
- </para>
- <para>
- When the user attempts to write invalid JSON and validation is enabled, it throws
- an <see cref="T:System.InvalidOperationException"/> with a context specific error message.
- </para>
- <para>
- To be able to format the output with indentation and whitespace OR to skip validation, create an instance of
- <see cref="T:System.Text.Json.JsonWriterOptions"/> and pass that in to the writer.
- </para>
- </remarks>
- </member>
- <member name="P:System.Text.Json.Utf8JsonWriter.BytesPending">
- <summary>
- Returns the amount of bytes written by the <see cref="T:System.Text.Json.Utf8JsonWriter"/> so far
- that have not yet been flushed to the output and committed.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonWriter.BytesCommitted">
- <summary>
- Returns the amount of bytes committed to the output by the <see cref="T:System.Text.Json.Utf8JsonWriter"/> so far.
- </summary>
- <remarks>
- In the case of IBufferwriter, this is how much the IBufferWriter has advanced.
- In the case of Stream, this is how much data has been written to the stream.
- </remarks>
- </member>
- <member name="P:System.Text.Json.Utf8JsonWriter.Options">
- <summary>
- Gets the custom behavior when writing JSON using
- the <see cref="T:System.Text.Json.Utf8JsonWriter"/> which indicates whether to format the output
- while writing and whether to skip structural JSON validation or not.
- </summary>
- </member>
- <member name="P:System.Text.Json.Utf8JsonWriter.CurrentDepth">
- <summary>
- Tracks the recursive depth of the nested objects / arrays within the JSON text
- written so far. This provides the depth of the current token.
- </summary>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.#ctor(System.Buffers.IBufferWriter{System.Byte},System.Text.Json.JsonWriterOptions)">
- <summary>
- Constructs a new <see cref="T:System.Text.Json.Utf8JsonWriter"/> instance with a specified <paramref name="bufferWriter"/>.
- </summary>
- <param name="bufferWriter">An instance of <see cref="T:System.Buffers.IBufferWriter`1" /> used as a destination for writing JSON text into.</param>
- <param name="options">Defines the customized behavior of the <see cref="T:System.Text.Json.Utf8JsonWriter"/>
- By default, the <see cref="T:System.Text.Json.Utf8JsonWriter"/> writes JSON minimized (that is, with no extra whitespace)
- and validates that the JSON being written is structurally valid according to JSON RFC.</param>
- <exception cref="T:System.ArgumentNullException">
- Thrown when the instance of <see cref="T:System.Buffers.IBufferWriter`1" /> that is passed in is null.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.#ctor(System.IO.Stream,System.Text.Json.JsonWriterOptions)">
- <summary>
- Constructs a new <see cref="T:System.Text.Json.Utf8JsonWriter"/> instance with a specified <paramref name="utf8Json"/>.
- </summary>
- <param name="utf8Json">An instance of <see cref="T:System.IO.Stream" /> used as a destination for writing JSON text into.</param>
- <param name="options">Defines the customized behavior of the <see cref="T:System.Text.Json.Utf8JsonWriter"/>
- By default, the <see cref="T:System.Text.Json.Utf8JsonWriter"/> writes JSON minimized (that is, with no extra whitespace)
- and validates that the JSON being written is structurally valid according to JSON RFC.</param>
- <exception cref="T:System.ArgumentNullException">
- Thrown when the instance of <see cref="T:System.IO.Stream" /> that is passed in is null.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.Reset">
- <summary>
- Resets the <see cref="T:System.Text.Json.Utf8JsonWriter"/> internal state so that it can be re-used.
- </summary>
- <remarks>
- The <see cref="T:System.Text.Json.Utf8JsonWriter"/> will continue to use the original writer options
- and the original output as the destination (either <see cref="T:System.Buffers.IBufferWriter`1" /> or <see cref="T:System.IO.Stream" />).
- </remarks>
- <exception cref="T:System.ObjectDisposedException">
- The instance of <see cref="T:System.Text.Json.Utf8JsonWriter"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.Reset(System.IO.Stream)">
- <summary>
- Resets the <see cref="T:System.Text.Json.Utf8JsonWriter"/> internal state so that it can be re-used with the new instance of <see cref="T:System.IO.Stream" />.
- </summary>
- <param name="utf8Json">An instance of <see cref="T:System.IO.Stream" /> used as a destination for writing JSON text into.</param>
- <remarks>
- The <see cref="T:System.Text.Json.Utf8JsonWriter"/> will continue to use the original writer options
- but now write to the passed in <see cref="T:System.IO.Stream" /> as the new destination.
- </remarks>
- <exception cref="T:System.ArgumentNullException">
- Thrown when the instance of <see cref="T:System.IO.Stream" /> that is passed in is null.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The instance of <see cref="T:System.Text.Json.Utf8JsonWriter"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.Reset(System.Buffers.IBufferWriter{System.Byte})">
- <summary>
- Resets the <see cref="T:System.Text.Json.Utf8JsonWriter"/> internal state so that it can be re-used with the new instance of <see cref="T:System.Buffers.IBufferWriter`1" />.
- </summary>
- <param name="bufferWriter">An instance of <see cref="T:System.Buffers.IBufferWriter`1" /> used as a destination for writing JSON text into.</param>
- <remarks>
- The <see cref="T:System.Text.Json.Utf8JsonWriter"/> will continue to use the original writer options
- but now write to the passed in <see cref="T:System.Buffers.IBufferWriter`1" /> as the new destination.
- </remarks>
- <exception cref="T:System.ArgumentNullException">
- Thrown when the instance of <see cref="T:System.Buffers.IBufferWriter`1" /> that is passed in is null.
- </exception>
- <exception cref="T:System.ObjectDisposedException">
- The instance of <see cref="T:System.Text.Json.Utf8JsonWriter"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.Flush">
- <summary>
- Commits the JSON text written so far which makes it visible to the output destination.
- </summary>
- <remarks>
- In the case of IBufferWriter, this advances the underlying <see cref="T:System.Buffers.IBufferWriter`1" /> based on what has been written so far.
- In the case of Stream, this writes the data to the stream and flushes it.
- </remarks>
- <exception cref="T:System.ObjectDisposedException">
- The instance of <see cref="T:System.Text.Json.Utf8JsonWriter"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.Dispose">
- <summary>
- Commits any left over JSON text that has not yet been flushed and releases all resources used by the current instance.
- </summary>
- <remarks>
- <para>
- In the case of IBufferWriter, this advances the underlying <see cref="T:System.Buffers.IBufferWriter`1" /> based on what has been written so far.
- In the case of Stream, this writes the data to the stream and flushes it.
- </para>
- <para>
- The <see cref="T:System.Text.Json.Utf8JsonWriter"/> instance cannot be re-used after disposing.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.DisposeAsync">
- <summary>
- Asynchronously commits any left over JSON text that has not yet been flushed and releases all resources used by the current instance.
- </summary>
- <remarks>
- <para>
- In the case of IBufferWriter, this advances the underlying <see cref="T:System.Buffers.IBufferWriter`1" /> based on what has been written so far.
- In the case of Stream, this writes the data to the stream and flushes it.
- </para>
- <para>
- The <see cref="T:System.Text.Json.Utf8JsonWriter"/> instance cannot be re-used after disposing.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.FlushAsync(System.Threading.CancellationToken)">
- <summary>
- Asynchronously commits the JSON text written so far which makes it visible to the output destination.
- </summary>
- <remarks>
- In the case of IBufferWriter, this advances the underlying <see cref="T:System.Buffers.IBufferWriter`1" /> based on what has been written so far.
- In the case of Stream, this writes the data to the stream and flushes it asynchronously, while monitoring cancellation requests.
- </remarks>
- <exception cref="T:System.ObjectDisposedException">
- The instance of <see cref="T:System.Text.Json.Utf8JsonWriter"/> has been disposed.
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartArray">
- <summary>
- Writes the beginning of a JSON array.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartObject">
- <summary>
- Writes the beginning of a JSON object.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartArray(System.Text.Json.JsonEncodedText)">
- <summary>
- Writes the beginning of a JSON array with a pre-encoded property name as the key.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartObject(System.Text.Json.JsonEncodedText)">
- <summary>
- Writes the beginning of a JSON object with a pre-encoded property name as the key.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartArray(System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the beginning of a JSON array with a property name as the key.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded property name of the JSON array to be written.</param>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartObject(System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the beginning of a JSON object with a property name as the key.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded property name of the JSON object to be written.</param>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartArray(System.String)">
- <summary>
- Writes the beginning of a JSON array with a property name as the key.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartObject(System.String)">
- <summary>
- Writes the beginning of a JSON object with a property name as the key.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartArray(System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the beginning of a JSON array with a property name as the key.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStartObject(System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the beginning of a JSON object with a property name as the key.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown when the depth of the JSON has exceeded the maximum depth of 1000
- OR if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteEndArray">
- <summary>
- Writes the end of a JSON array.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteEndObject">
- <summary>
- Writes the end of a JSON object.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBase64String(System.Text.Json.JsonEncodedText,System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the pre-encoded property name and raw bytes value (as a Base64 encoded JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="bytes">The binary data to write as Base64 encoded text.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBase64String(System.String,System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the property name and raw bytes value (as a Base64 encoded JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="bytes">The binary data to write as Base64 encoded text.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBase64String(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the property name and raw bytes value (as a Base64 encoded JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="bytes">The binary data to write as Base64 encoded text.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBase64String(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the property name and raw bytes value (as a Base64 encoded JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="bytes">The binary data to write as Base64 encoded text.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.Text.Json.JsonEncodedText,System.DateTime)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.DateTime"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTime"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000.
- The property name should already be escaped when the instance of <see cref="T:System.Text.Json.JsonEncodedText"/> was created.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.String,System.DateTime)">
- <summary>
- Writes the property name and <see cref="T:System.DateTime"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTime"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Char},System.DateTime)">
- <summary>
- Writes the property name and <see cref="T:System.DateTime"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTime"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Byte},System.DateTime)">
- <summary>
- Writes the property name and <see cref="T:System.DateTime"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTime"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.Text.Json.JsonEncodedText,System.DateTimeOffset)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.DateTimeOffset"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTimeOffset"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000-07:00.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.String,System.DateTimeOffset)">
- <summary>
- Writes the property name and <see cref="T:System.DateTimeOffset"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTimeOffset"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000-07:00.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Char},System.DateTimeOffset)">
- <summary>
- Writes the property name and <see cref="T:System.DateTimeOffset"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTimeOffset"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000-07:00.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Byte},System.DateTimeOffset)">
- <summary>
- Writes the property name and <see cref="T:System.DateTimeOffset"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded property name of the JSON object to be written.</param>
- <param name="value">The value to to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTimeOffset"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000-07:00.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.Text.Json.JsonEncodedText,System.Decimal)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.Decimal"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Decimal"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.String,System.Decimal)">
- <summary>
- Writes the property name and <see cref="T:System.Decimal"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Decimal"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Char},System.Decimal)">
- <summary>
- Writes the property name and <see cref="T:System.Decimal"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Decimal"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Byte},System.Decimal)">
- <summary>
- Writes the property name and <see cref="T:System.Decimal"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Decimal"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.Text.Json.JsonEncodedText,System.Double)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.Double"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Double"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.String,System.Double)">
- <summary>
- Writes the property name and <see cref="T:System.Double"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Double"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Char},System.Double)">
- <summary>
- Writes the property name and <see cref="T:System.Double"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Double"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Byte},System.Double)">
- <summary>
- Writes the property name and <see cref="T:System.Double"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Double"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.Text.Json.JsonEncodedText,System.Single)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.Single"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write..</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Single"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.String,System.Single)">
- <summary>
- Writes the property name and <see cref="T:System.Single"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write..</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Single"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Char},System.Single)">
- <summary>
- Writes the property name and <see cref="T:System.Single"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write..</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Single"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Byte},System.Single)">
- <summary>
- Writes the property name and <see cref="T:System.Single"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Single"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the property name and value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="utf8FormattedNumber">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentException">
- Thrown when <paramref name="utf8FormattedNumber"/> does not represent a valid JSON number.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the property name and value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write..</param>
- <param name="utf8FormattedNumber">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentException">
- Thrown when <paramref name="utf8FormattedNumber"/> does not represent a valid JSON number.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.Text.Json.JsonEncodedText,System.Guid)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.Guid"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Guid"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'D'), as the form: nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.String,System.Guid)">
- <summary>
- Writes the property name and <see cref="T:System.Guid"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Guid"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'D'), as the form: nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Char},System.Guid)">
- <summary>
- Writes the property name and <see cref="T:System.Guid"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Guid"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'D'), as the form: nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Byte},System.Guid)">
- <summary>
- Writes the property name and <see cref="T:System.Guid"/> value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Guid"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'D'), as the form: nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNull(System.Text.Json.JsonEncodedText)">
- <summary>
- Writes the pre-encoded property name and the JSON literal "null" as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNull(System.String)">
- <summary>
- Writes the property name and the JSON literal "null" as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNull(System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the property name and the JSON literal "null" as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNull(System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the property name and the JSON literal "null" as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBoolean(System.Text.Json.JsonEncodedText,System.Boolean)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.Boolean"/> value (as a JSON literal "true" or "false") as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBoolean(System.String,System.Boolean)">
- <summary>
- Writes the property name and <see cref="T:System.Boolean"/> value (as a JSON literal "true" or "false") as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBoolean(System.ReadOnlySpan{System.Char},System.Boolean)">
- <summary>
- Writes the property name and <see cref="T:System.Boolean"/> value (as a JSON literal "true" or "false") as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBoolean(System.ReadOnlySpan{System.Byte},System.Boolean)">
- <summary>
- Writes the property name and <see cref="T:System.Boolean"/> value (as a JSON literal "true" or "false") as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.Text.Json.JsonEncodedText,System.Int64)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.Int64"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.String,System.Int64)">
- <summary>
- Writes the property name and <see cref="T:System.Int64"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Char},System.Int64)">
- <summary>
- Writes the property name and <see cref="T:System.Int64"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Byte},System.Int64)">
- <summary>
- Writes the property name and <see cref="T:System.Int64"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.Text.Json.JsonEncodedText,System.Int32)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.Int32"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.String,System.Int32)">
- <summary>
- Writes the property name and <see cref="T:System.Int32"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Char},System.Int32)">
- <summary>
- Writes the property name and <see cref="T:System.Int32"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Byte},System.Int32)">
- <summary>
- Writes the property name and <see cref="T:System.Int32"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WritePropertyName(System.Text.Json.JsonEncodedText)">
- <summary>
- Writes the pre-encoded property name (as a JSON string) as the first part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WritePropertyName(System.String)">
- <summary>
- Writes the property name (as a JSON string) as the first part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WritePropertyName(System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the property name (as a JSON string) as the first part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WritePropertyName(System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the UTF-8 property name (as a JSON string) as the first part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.Text.Json.JsonEncodedText,System.Text.Json.JsonEncodedText)">
- <summary>
- Writes the pre-encoded property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The JSON-encoded value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.String,System.Text.Json.JsonEncodedText)">
- <summary>
- Writes the property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The JSON-encoded value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.String,System.String)">
- <summary>
- Writes the property name and string text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name or value is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- <para>
- The property name and value is escaped before writing.
- </para>
- <para>
- If <paramref name="value"/> is <see langword="null"/> the JSON null value is written,
- as if <see cref="M:System.Text.Json.Utf8JsonWriter.WriteNull(System.ReadOnlySpan{System.Byte})"/> were called.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the property name and text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name or value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name and value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the UTF-8 property name and UTF-8 text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="utf8Value">The UTF-8 encoded value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name or value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name and value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.Text.Json.JsonEncodedText,System.String)">
- <summary>
- Writes the pre-encoded property name and string text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- <para>
- The value is escaped before writing.
- </para>
- <para>
- If <paramref name="value"/> is <see langword="null"/> the JSON null value is written,
- as if <see cref="M:System.Text.Json.Utf8JsonWriter.WriteNull(System.Text.Json.JsonEncodedText)"/> was called.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.Text.Json.JsonEncodedText,System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the pre-encoded property name and text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.String,System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the property name and text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name or value is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name and value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Byte},System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the UTF-8 property name and text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name or value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name and value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.Text.Json.JsonEncodedText,System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the pre-encoded property name and UTF-8 text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="utf8Value">The UTF-8 encoded value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.String,System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the property name and UTF-8 text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="utf8Value">The UTF-8 encoded value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name or value is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name and value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Char},System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the property name and UTF-8 text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="utf8Value">The UTF-8 encoded value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name or value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name and value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Char},System.Text.Json.JsonEncodedText)">
- <summary>
- Writes the property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The JSON-encoded value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Char},System.String)">
- <summary>
- Writes the property name and string text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name or value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- <para>
- The property name and value are escaped before writing.
- </para>
- <para>
- If <paramref name="value"/> is <see langword="null"/> the JSON null value is written,
- as if <see cref="M:System.Text.Json.Utf8JsonWriter.WriteNull(System.ReadOnlySpan{System.Char})"/> was called.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Byte},System.Text.Json.JsonEncodedText)">
- <summary>
- Writes the UTF-8 property name and pre-encoded value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The JSON-encoded value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteString(System.ReadOnlySpan{System.Byte},System.String)">
- <summary>
- Writes the UTF-8 property name and string text value (as a JSON string) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name or value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- <para>
- The property name and value are escaped before writing.
- </para>
- <para>
- If <paramref name="value"/> is <see langword="null"/> the JSON null value is written,
- as if <see cref="M:System.Text.Json.Utf8JsonWriter.WriteNull(System.ReadOnlySpan{System.Byte})"/> was called.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.Text.Json.JsonEncodedText,System.UInt64)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.UInt64"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.String,System.UInt64)">
- <summary>
- Writes the property name and <see cref="T:System.UInt64"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Char},System.UInt64)">
- <summary>
- Writes the property name and <see cref="T:System.UInt64"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Byte},System.UInt64)">
- <summary>
- Writes the property name and <see cref="T:System.UInt64"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.Text.Json.JsonEncodedText,System.UInt32)">
- <summary>
- Writes the pre-encoded property name and <see cref="T:System.UInt32"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The JSON-encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.String,System.UInt32)">
- <summary>
- Writes the property name and <see cref="T:System.UInt32"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="propertyName"/> parameter is <see langword="null"/>.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Char},System.UInt32)">
- <summary>
- Writes the property name and <see cref="T:System.UInt32"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="propertyName">The name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumber(System.ReadOnlySpan{System.Byte},System.UInt32)">
- <summary>
- Writes the property name and <see cref="T:System.UInt32"/> value (as a JSON number) as part of a name/value pair of a JSON object.
- </summary>
- <param name="utf8PropertyName">The UTF-8 encoded name of the property to write.</param>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified property name is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- The property name is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBase64StringValue(System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the raw bytes value as a Base64 encoded JSON string as an element of a JSON array.
- </summary>
- <param name="bytes">The binary data to write as Base64 encoded text.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The bytes are encoded before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteCommentValue(System.String)">
- <summary>
- Writes the string text value (as a JSON comment).
- </summary>
- <param name="value">The value to write as a JSON comment within /*..*/.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large OR if the given string text value contains a comment delimiter (that is, */).
- </exception>
- <exception cref="T:System.ArgumentNullException">
- The <paramref name="value"/> parameter is <see langword="null"/>.
- </exception>
- <remarks>
- The comment value is not escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteCommentValue(System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the text value (as a JSON comment).
- </summary>
- <param name="value">The value to write as a JSON comment within /*..*/.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large OR if the given text value contains a comment delimiter (that is, */).
- </exception>
- <remarks>
- The comment value is not escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteCommentValue(System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the UTF-8 text value (as a JSON comment).
- </summary>
- <param name="utf8Value">The UTF-8 encoded value to be written as a JSON comment within /*..*/.</param>
- <remarks>
- The comment value is not escaped before writing.
- </remarks>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large OR if the given UTF-8 text value contains a comment delimiter (that is, */).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStringValue(System.DateTime)">
- <summary>
- Writes the <see cref="T:System.DateTime"/> value (as a JSON string) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTime"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStringValue(System.DateTimeOffset)">
- <summary>
- Writes the <see cref="T:System.DateTimeOffset"/> value (as a JSON string) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.DateTimeOffset"/> using the round-trippable ('O') <see cref="T:System.Buffers.StandardFormat"/> , for example: 2017-06-12T05:30:45.7680000-07:00.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumberValue(System.Decimal)">
- <summary>
- Writes the <see cref="T:System.Decimal"/> value (as a JSON number) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Decimal"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G').
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumberValue(System.Double)">
- <summary>
- Writes the <see cref="T:System.Double"/> value (as a JSON number) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Double"/> using the default <see cref="T:System.Buffers.StandardFormat"/> on .NET Core 3 or higher
- and 'G17' on any other framework.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumberValue(System.Single)">
- <summary>
- Writes the <see cref="T:System.Single"/> value (as a JSON number) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Single"/> using the default <see cref="T:System.Buffers.StandardFormat"/> on .NET Core 3 or higher
- and 'G9' on any other framework.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumberValue(System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the value (as a JSON number) as an element of a JSON array.
- </summary>
- <param name="utf8FormattedNumber">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when <paramref name="utf8FormattedNumber"/> does not represent a valid JSON number.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStringValue(System.Guid)">
- <summary>
- Writes the <see cref="T:System.Guid"/> value (as a JSON string) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Guid"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'D'), as the form: nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNullValue">
- <summary>
- Writes the JSON literal "null" as an element of a JSON array.
- </summary>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteBooleanValue(System.Boolean)">
- <summary>
- Writes the <see cref="T:System.Boolean"/> value (as a JSON literal "true" or "false") as an element of a JSON array.
- </summary>
- <param name="value">The value write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteRawValue(System.String,System.Boolean)">
- <summary>
- Writes the input as JSON content. It is expected that the input content is a single complete JSON value.
- </summary>
- <param name="json">The raw JSON content to write.</param>
- <param name="skipInputValidation">Whether to validate if the input is an RFC 8259-compliant JSON payload.</param>
- <exception cref="T:System.ArgumentNullException">Thrown if <paramref name="json"/> is <see langword="null"/>.</exception>
- <exception cref="T:System.ArgumentException">Thrown if the length of the input is zero or greater than 715,827,882 (<see cref="F:System.Int32.MaxValue"/> / 3).</exception>
- <exception cref="T:System.Text.Json.JsonException">
- Thrown if <paramref name="skipInputValidation"/> is <see langword="false"/>, and the input
- is not a valid, complete, single JSON value according to the JSON RFC (https://tools.ietf.org/html/rfc8259)
- or the input JSON exceeds a recursive depth of 64.
- </exception>
- <remarks>
- When writing untrused JSON values, do not set <paramref name="skipInputValidation"/> to <see langword="true"/> as this can result in invalid JSON
- being written, and/or the overall payload being written to the writer instance being invalid.
-
- When using this method, the input content will be written to the writer destination as-is, unless validation fails (when it is enabled).
-
- The <see cref="P:System.Text.Json.JsonWriterOptions.SkipValidation"/> value for the writer instance is honored when using this method.
-
- The <see cref="P:System.Text.Json.JsonWriterOptions.Indented"/> and <see cref="P:System.Text.Json.JsonWriterOptions.Encoder"/> values for the writer instance are not applied when using this method.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteRawValue(System.ReadOnlySpan{System.Char},System.Boolean)">
- <summary>
- Writes the input as JSON content. It is expected that the input content is a single complete JSON value.
- </summary>
- <param name="json">The raw JSON content to write.</param>
- <param name="skipInputValidation">Whether to validate if the input is an RFC 8259-compliant JSON payload.</param>
- <exception cref="T:System.ArgumentException">Thrown if the length of the input is zero or greater than 715,827,882 (<see cref="F:System.Int32.MaxValue"/> / 3).</exception>
- <exception cref="T:System.Text.Json.JsonException">
- Thrown if <paramref name="skipInputValidation"/> is <see langword="false"/>, and the input
- is not a valid, complete, single JSON value according to the JSON RFC (https://tools.ietf.org/html/rfc8259)
- or the input JSON exceeds a recursive depth of 64.
- </exception>
- <remarks>
- When writing untrused JSON values, do not set <paramref name="skipInputValidation"/> to <see langword="true"/> as this can result in invalid JSON
- being written, and/or the overall payload being written to the writer instance being invalid.
-
- When using this method, the input content will be written to the writer destination as-is, unless validation fails (when it is enabled).
-
- The <see cref="P:System.Text.Json.JsonWriterOptions.SkipValidation"/> value for the writer instance is honored when using this method.
-
- The <see cref="P:System.Text.Json.JsonWriterOptions.Indented"/> and <see cref="P:System.Text.Json.JsonWriterOptions.Encoder"/> values for the writer instance are not applied when using this method.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteRawValue(System.ReadOnlySpan{System.Byte},System.Boolean)">
- <summary>
- Writes the input as JSON content. It is expected that the input content is a single complete JSON value.
- </summary>
- <param name="utf8Json">The raw JSON content to write.</param>
- <param name="skipInputValidation">Whether to validate if the input is an RFC 8259-compliant JSON payload.</param>
- <exception cref="T:System.ArgumentException">Thrown if the length of the input is zero or equal to <see cref="F:System.Int32.MaxValue"/>.</exception>
- <exception cref="T:System.Text.Json.JsonException">
- Thrown if <paramref name="skipInputValidation"/> is <see langword="false"/>, and the input
- is not a valid, complete, single JSON value according to the JSON RFC (https://tools.ietf.org/html/rfc8259)
- or the input JSON exceeds a recursive depth of 64.
- </exception>
- <remarks>
- When writing untrused JSON values, do not set <paramref name="skipInputValidation"/> to <see langword="true"/> as this can result in invalid JSON
- being written, and/or the overall payload being written to the writer instance being invalid.
-
- When using this method, the input content will be written to the writer destination as-is, unless validation fails (when it is enabled).
-
- The <see cref="P:System.Text.Json.JsonWriterOptions.SkipValidation"/> value for the writer instance is honored when using this method.
-
- The <see cref="P:System.Text.Json.JsonWriterOptions.Indented"/> and <see cref="P:System.Text.Json.JsonWriterOptions.Encoder"/> values for the writer instance are not applied when using this method.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumberValue(System.Int32)">
- <summary>
- Writes the <see cref="T:System.Int32"/> value (as a JSON number) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumberValue(System.Int64)">
- <summary>
- Writes the <see cref="T:System.Int64"/> value (as a JSON number) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.Int64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStringValue(System.Text.Json.JsonEncodedText)">
- <summary>
- Writes the pre-encoded text value (as a JSON string) as an element of a JSON array.
- </summary>
- <param name="value">The JSON-encoded value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStringValue(System.String)">
- <summary>
- Writes the string text value (as a JSON string) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- <para>
- The value is escaped before writing.</para>
- <para>
- If <paramref name="value"/> is <see langword="null"/> the JSON null value is written,
- as if <see cref="M:System.Text.Json.Utf8JsonWriter.WriteNullValue"/> was called.
- </para>
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStringValue(System.ReadOnlySpan{System.Char})">
- <summary>
- Writes the text value (as a JSON string) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteStringValue(System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes the UTF-8 text value (as a JSON string) as an element of a JSON array.
- </summary>
- <param name="utf8Value">The UTF-8 encoded value to be written as a JSON string element of a JSON array.</param>
- <exception cref="T:System.ArgumentException">
- Thrown when the specified value is too large.
- </exception>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- The value is escaped before writing.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumberValueAsStringUnescaped(System.ReadOnlySpan{System.Byte})">
- <summary>
- Writes a number as a JSON string. The string value is not escaped.
- </summary>
- <param name="utf8Value"></param>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumberValue(System.UInt32)">
- <summary>
- Writes the <see cref="T:System.UInt32"/> value (as a JSON number) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt32"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="M:System.Text.Json.Utf8JsonWriter.WriteNumberValue(System.UInt64)">
- <summary>
- Writes the <see cref="T:System.UInt64"/> value (as a JSON number) as an element of a JSON array.
- </summary>
- <param name="value">The value to write.</param>
- <exception cref="T:System.InvalidOperationException">
- Thrown if this would result in invalid JSON being written (while validation is enabled).
- </exception>
- <remarks>
- Writes the <see cref="T:System.UInt64"/> using the default <see cref="T:System.Buffers.StandardFormat"/> (that is, 'G'), for example: 32767.
- </remarks>
- </member>
- <member name="T:System.Text.Json.JsonSerializerOptionsUpdateHandler">
- <summary>Handler used to clear JsonSerializerOptions reflection cache upon a metadata update.</summary>
- </member>
- <member name="T:System.Buffers.Text.SequenceValidity">
- <summary>
- Represents the validity of a UTF code unit sequence.
- </summary>
- </member>
- <member name="F:System.Buffers.Text.SequenceValidity.Empty">
- <summary>
- The sequence is empty.
- </summary>
- </member>
- <member name="F:System.Buffers.Text.SequenceValidity.WellFormed">
- <summary>
- The sequence is well-formed and unambiguously represents a proper Unicode scalar value.
- </summary>
- <remarks>
- [ 20 ] (U+0020 SPACE) is a well-formed UTF-8 sequence.
- [ C3 A9 ] (U+00E9 LATIN SMALL LETTER E WITH ACUTE) is a well-formed UTF-8 sequence.
- [ F0 9F 98 80 ] (U+1F600 GRINNING FACE) is a well-formed UTF-8 sequence.
- [ D83D DE00 ] (U+1F600 GRINNING FACE) is a well-formed UTF-16 sequence.
- </remarks>
- </member>
- <member name="F:System.Buffers.Text.SequenceValidity.Incomplete">
- <summary>
- The sequence is not well-formed on its own, but it could appear as a prefix
- of a longer well-formed sequence. More code units are needed to make a proper
- determination as to whether this sequence is well-formed. Incomplete sequences
- can only appear at the end of a string.
- </summary>
- <remarks>
- [ C2 ] is an incomplete UTF-8 sequence if it is followed by nothing.
- [ F0 9F ] is an incomplete UTF-8 sequence if it is followed by nothing.
- [ D83D ] is an incomplete UTF-16 sequence if it is followed by nothing.
- </remarks>
- </member>
- <member name="F:System.Buffers.Text.SequenceValidity.Invalid">
- <summary>
- The sequence is never well-formed anywhere, or this sequence can never appear as a prefix
- of a longer well-formed sequence, or the sequence was improperly terminated by the code
- unit which appeared immediately after this sequence.
- </summary>
- <remarks>
- [ 80 ] is an invalid UTF-8 sequence (code unit cannot appear at start of sequence).
- [ FE ] is an invalid UTF-8 sequence (sequence is never well-formed anywhere in UTF-8 string).
- [ C2 ] is an invalid UTF-8 sequence if it is followed by [ 20 ] (sequence improperly terminated).
- [ ED A0 ] is an invalid UTF-8 sequence (sequence is never well-formed anywhere in UTF-8 string).
- [ DE00 ] is an invalid UTF-16 sequence (code unit cannot appear at start of sequence).
- </remarks>
- </member>
- <member name="P:System.SR.ArrayDepthTooLarge">
- <summary>The maximum configured depth of {0} has been exceeded. Cannot read next JSON array.</summary>
- </member>
- <member name="P:System.SR.CallFlushToAvoidDataLoss">
- <summary>The JSON writer needs to be flushed before getting the current state. There are {0} bytes that have not been committed to the output.</summary>
- </member>
- <member name="P:System.SR.CannotReadIncompleteUTF16">
- <summary>Cannot read incomplete UTF-16 JSON text as string with missing low surrogate.</summary>
- </member>
- <member name="P:System.SR.CannotReadInvalidUTF16">
- <summary>Cannot read invalid UTF-16 JSON text as string. Invalid surrogate value: '{0}'.</summary>
- </member>
- <member name="P:System.SR.CannotStartObjectArrayAfterPrimitiveOrClose">
- <summary>Cannot write the start of an object/array after a single JSON value or outside of an existing closed object/array. Current token type is '{0}'.</summary>
- </member>
- <member name="P:System.SR.CannotStartObjectArrayWithoutProperty">
- <summary>Cannot write the start of an object or array without a property name. Current token type is '{0}'.</summary>
- </member>
- <member name="P:System.SR.CannotTranscodeInvalidUtf8">
- <summary>Cannot transcode invalid UTF-8 JSON text to UTF-16 string.</summary>
- </member>
- <member name="P:System.SR.CannotDecodeInvalidBase64">
- <summary>Cannot decode JSON text that is not encoded as valid Base64 to bytes.</summary>
- </member>
- <member name="P:System.SR.CannotTranscodeInvalidUtf16">
- <summary>Cannot transcode invalid UTF-16 string to UTF-8 JSON text.</summary>
- </member>
- <member name="P:System.SR.CannotEncodeInvalidUTF16">
- <summary>Cannot encode invalid UTF-16 text as JSON. Invalid surrogate value: '{0}'.</summary>
- </member>
- <member name="P:System.SR.CannotEncodeInvalidUTF8">
- <summary>Cannot encode invalid UTF-8 text as JSON. Invalid input: '{0}'.</summary>
- </member>
- <member name="P:System.SR.CannotWritePropertyWithinArray">
- <summary>Cannot write a JSON property within an array or as the first JSON token. Current token type is '{0}'.</summary>
- </member>
- <member name="P:System.SR.CannotWritePropertyAfterProperty">
- <summary>Cannot write a JSON property name following another property name. A JSON value is missing.</summary>
- </member>
- <member name="P:System.SR.CannotWriteValueAfterPrimitiveOrClose">
- <summary>Cannot write a JSON value after a single JSON value or outside of an existing closed object/array. Current token type is '{0}'.</summary>
- </member>
- <member name="P:System.SR.CannotWriteValueWithinObject">
- <summary>Cannot write a JSON value within an object without a property name. Current token type is '{0}'.</summary>
- </member>
- <member name="P:System.SR.DepthTooLarge">
- <summary>CurrentDepth ({0}) is equal to or larger than the maximum allowed depth of {1}. Cannot write the next JSON object or array.</summary>
- </member>
- <member name="P:System.SR.DestinationTooShort">
- <summary>Destination is too short.</summary>
- </member>
- <member name="P:System.SR.EmptyJsonIsInvalid">
- <summary>Writing an empty JSON payload (excluding comments) is invalid.</summary>
- </member>
- <member name="P:System.SR.EndOfCommentNotFound">
- <summary>Expected end of comment, but instead reached end of data.</summary>
- </member>
- <member name="P:System.SR.EndOfStringNotFound">
- <summary>Expected end of string, but instead reached end of data.</summary>
- </member>
- <member name="P:System.SR.ExpectedEndAfterSingleJson">
- <summary>'{0}' is invalid after a single JSON value. Expected end of data.</summary>
- </member>
- <member name="P:System.SR.ExpectedEndOfDigitNotFound">
- <summary>'{0}' is an invalid end of a number. Expected a delimiter.</summary>
- </member>
- <member name="P:System.SR.ExpectedFalse">
- <summary>'{0}' is an invalid JSON literal. Expected the literal 'false'.</summary>
- </member>
- <member name="P:System.SR.ExpectedJsonTokens">
- <summary>The input does not contain any JSON tokens. Expected the input to start with a valid JSON token, when isFinalBlock is true.</summary>
- </member>
- <member name="P:System.SR.ExpectedOneCompleteToken">
- <summary>The input does not contain any complete JSON tokens. Expected the input to have at least one valid, complete, JSON token.</summary>
- </member>
- <member name="P:System.SR.ExpectedNextDigitEValueNotFound">
- <summary>'{0}' is an invalid end of a number. Expected 'E' or 'e'.</summary>
- </member>
- <member name="P:System.SR.ExpectedNull">
- <summary>'{0}' is an invalid JSON literal. Expected the literal 'null'.</summary>
- </member>
- <member name="P:System.SR.ExpectedSeparatorAfterPropertyNameNotFound">
- <summary>'{0}' is invalid after a property name. Expected a ':'.</summary>
- </member>
- <member name="P:System.SR.ExpectedStartOfPropertyNotFound">
- <summary>'{0}' is an invalid start of a property name. Expected a '"'.</summary>
- </member>
- <member name="P:System.SR.ExpectedStartOfPropertyOrValueNotFound">
- <summary>Expected start of a property name or value, but instead reached end of data.</summary>
- </member>
- <member name="P:System.SR.ExpectedStartOfValueNotFound">
- <summary>'{0}' is an invalid start of a value.</summary>
- </member>
- <member name="P:System.SR.ExpectedTrue">
- <summary>'{0}' is an invalid JSON literal. Expected the literal 'true'.</summary>
- </member>
- <member name="P:System.SR.ExpectedValueAfterPropertyNameNotFound">
- <summary>Expected a value, but instead reached end of data.</summary>
- </member>
- <member name="P:System.SR.FailedToGetLargerSpan">
- <summary>The 'IBufferWriter' could not provide an output buffer that is large enough to continue writing.</summary>
- </member>
- <member name="P:System.SR.FoundInvalidCharacter">
- <summary>'{0}' is invalid after a value. Expected either ',', '}}', or ']'.</summary>
- </member>
- <member name="P:System.SR.InvalidCast">
- <summary>Cannot get the value of a token type '{0}' as a {1}.</summary>
- </member>
- <member name="P:System.SR.InvalidCharacterAfterEscapeWithinString">
- <summary>'{0}' is an invalid escapable character within a JSON string. The string should be correctly escaped.</summary>
- </member>
- <member name="P:System.SR.InvalidCharacterWithinString">
- <summary>'{0}' is invalid within a JSON string. The string should be correctly escaped.</summary>
- </member>
- <member name="P:System.SR.InvalidEndOfJsonNonPrimitive">
- <summary>'{0}' is an invalid token type for the end of the JSON payload. Expected either 'EndArray' or 'EndObject'.</summary>
- </member>
- <member name="P:System.SR.InvalidHexCharacterWithinString">
- <summary>'{0}' is not a hex digit following '\u' within a JSON string. The string should be correctly escaped.</summary>
- </member>
- <member name="P:System.SR.JsonDocumentDoesNotSupportComments">
- <summary>Comments cannot be stored in a JsonDocument, only the Skip and Disallow comment handling modes are supported.</summary>
- </member>
- <member name="P:System.SR.JsonElementHasWrongType">
- <summary>The requested operation requires an element of type '{0}', but the target element has type '{1}'.</summary>
- </member>
- <member name="P:System.SR.TypeInfoResolverImmutable">
- <summary>Cannot add callbacks to the 'Modifiers' property after the resolver has been used for the first time.</summary>
- </member>
- <member name="P:System.SR.TypeInfoImmutable">
- <summary>This JsonTypeInfo instance is marked read-only or has already been used in serialization or deserialization.</summary>
- </member>
- <member name="P:System.SR.PropertyInfoImmutable">
- <summary>This JsonTypeInfo instance is marked read-only or has already been used in serialization or deserialization.</summary>
- </member>
- <member name="P:System.SR.MaxDepthMustBePositive">
- <summary>Max depth must be positive.</summary>
- </member>
- <member name="P:System.SR.CommentHandlingMustBeValid">
- <summary>The JsonCommentHandling enum must be set to one of the supported values.</summary>
- </member>
- <member name="P:System.SR.MismatchedObjectArray">
- <summary>'{0}' is invalid without a matching open.</summary>
- </member>
- <member name="P:System.SR.CannotWriteEndAfterProperty">
- <summary>'{0}' is invalid following a property name.</summary>
- </member>
- <member name="P:System.SR.ObjectDepthTooLarge">
- <summary>The maximum configured depth of {0} has been exceeded. Cannot read next JSON object.</summary>
- </member>
- <member name="P:System.SR.PropertyNameTooLarge">
- <summary>The JSON property name of length {0} is too large and not supported.</summary>
- </member>
- <member name="P:System.SR.FormatDecimal">
- <summary>The JSON value is either too large or too small for a Decimal.</summary>
- </member>
- <member name="P:System.SR.FormatDouble">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for a Double.</summary>
- </member>
- <member name="P:System.SR.FormatInt32">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for an Int32.</summary>
- </member>
- <member name="P:System.SR.FormatInt64">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for an Int64.</summary>
- </member>
- <member name="P:System.SR.FormatSingle">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for a Single.</summary>
- </member>
- <member name="P:System.SR.FormatUInt32">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for a UInt32.</summary>
- </member>
- <member name="P:System.SR.FormatUInt64">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for a UInt64.</summary>
- </member>
- <member name="P:System.SR.RequiredDigitNotFoundAfterDecimal">
- <summary>'{0}' is invalid within a number, immediately after a decimal point ('.'). Expected a digit ('0'-'9').</summary>
- </member>
- <member name="P:System.SR.RequiredDigitNotFoundAfterSign">
- <summary>'{0}' is invalid within a number, immediately after a sign character ('+' or '-'). Expected a digit ('0'-'9').</summary>
- </member>
- <member name="P:System.SR.RequiredDigitNotFoundEndOfData">
- <summary>Expected a digit ('0'-'9'), but instead reached end of data.</summary>
- </member>
- <member name="P:System.SR.SpecialNumberValuesNotSupported">
- <summary>.NET number values such as positive and negative infinity cannot be written as valid JSON. To make it work when using 'JsonSerializer', consider specifying 'JsonNumberHandling.AllowNamedFloatingPointLiterals' (see https://docs.microsoft.com/dotnet/api/syst ...</summary>
- </member>
- <member name="P:System.SR.ValueTooLarge">
- <summary>The JSON value of length {0} is too large and not supported.</summary>
- </member>
- <member name="P:System.SR.ZeroDepthAtEnd">
- <summary>Expected depth to be zero at the end of the JSON payload. There is an open JSON object or array that should be closed.</summary>
- </member>
- <member name="P:System.SR.DeserializeUnableToConvertValue">
- <summary>The JSON value could not be converted to {0}.</summary>
- </member>
- <member name="P:System.SR.DeserializeWrongType">
- <summary>The specified type {0} must derive from the specific value's type {1}.</summary>
- </member>
- <member name="P:System.SR.SerializationInvalidBufferSize">
- <summary>The value must be greater than zero.</summary>
- </member>
- <member name="P:System.SR.BufferWriterAdvancedTooFar">
- <summary>Cannot advance past the end of the buffer, which has a size of {0}.</summary>
- </member>
- <member name="P:System.SR.InvalidComparison">
- <summary>Cannot compare the value of a token type '{0}' to text.</summary>
- </member>
- <member name="P:System.SR.UnsupportedFormat">
- <summary>The JSON value is not in a supported {0} format.</summary>
- </member>
- <member name="P:System.SR.ExpectedStartOfPropertyOrValueAfterComment">
- <summary>'{0}' is an invalid start of a property name or value, after a comment.</summary>
- </member>
- <member name="P:System.SR.TrailingCommaNotAllowedBeforeArrayEnd">
- <summary>The JSON array contains a trailing comma at the end which is not supported in this mode. Change the reader options.</summary>
- </member>
- <member name="P:System.SR.TrailingCommaNotAllowedBeforeObjectEnd">
- <summary>The JSON object contains a trailing comma at the end which is not supported in this mode. Change the reader options.</summary>
- </member>
- <member name="P:System.SR.SerializerOptionsImmutable">
- <summary>This JsonSerializerOptions instance is read-only or has already been used in serialization or deserialization.</summary>
- </member>
- <member name="P:System.SR.StreamNotWritable">
- <summary>Stream is not writable.</summary>
- </member>
- <member name="P:System.SR.CannotWriteCommentWithEmbeddedDelimiter">
- <summary>Cannot write a comment value which contains the end of comment delimiter.</summary>
- </member>
- <member name="P:System.SR.SerializerPropertyNameConflict">
- <summary>The JSON property name for '{0}.{1}' collides with another property.</summary>
- </member>
- <member name="P:System.SR.SerializerPropertyNameNull">
- <summary>The JSON property name for '{0}.{1}' cannot be null.</summary>
- </member>
- <member name="P:System.SR.SerializationDataExtensionPropertyInvalid">
- <summary>The extension data property '{0}.{1}' is invalid. It must implement 'IDictionary<string, JsonElement>' or 'IDictionary<string, object>', or be 'JsonObject'.</summary>
- </member>
- <member name="P:System.SR.SerializationDuplicateTypeAttribute">
- <summary>The type '{0}' cannot have more than one member that has the attribute '{1}'.</summary>
- </member>
- <member name="P:System.SR.SerializationNotSupportedType">
- <summary>The type '{0}' is not supported.</summary>
- </member>
- <member name="P:System.SR.TypeRequiresAsyncSerialization">
- <summary>The type '{0}' can only be serialized using async serialization methods.</summary>
- </member>
- <member name="P:System.SR.InvalidCharacterAtStartOfComment">
- <summary>'{0}' is invalid after '/' at the beginning of the comment. Expected either '/' or '*'.</summary>
- </member>
- <member name="P:System.SR.UnexpectedEndOfDataWhileReadingComment">
- <summary>Unexpected end of data while reading a comment.</summary>
- </member>
- <member name="P:System.SR.CannotSkip">
- <summary>Cannot skip tokens on partial JSON. Either get the whole payload and create a Utf8JsonReader instance where isFinalBlock is true or call TrySkip.</summary>
- </member>
- <member name="P:System.SR.NotEnoughData">
- <summary>There is not enough data to read through the entire JSON array or object.</summary>
- </member>
- <member name="P:System.SR.UnexpectedEndOfLineSeparator">
- <summary>Found invalid line or paragraph separator character while reading a comment.</summary>
- </member>
- <member name="P:System.SR.JsonSerializerDoesNotSupportComments">
- <summary>Comments cannot be stored when deserializing objects, only the Skip and Disallow comment handling modes are supported.</summary>
- </member>
- <member name="P:System.SR.DeserializeNoConstructor">
- <summary>Deserialization of types without a parameterless constructor, a singular parameterized constructor, or a parameterized constructor annotated with '{0}' is not supported. Type '{1}'.</summary>
- </member>
- <member name="P:System.SR.DeserializePolymorphicInterface">
- <summary>Deserialization of interface types is not supported. Type '{0}'.</summary>
- </member>
- <member name="P:System.SR.SerializationConverterOnAttributeNotCompatible">
- <summary>The converter specified on '{0}' is not compatible with the type '{1}'.</summary>
- </member>
- <member name="P:System.SR.SerializationConverterOnAttributeInvalid">
- <summary>The converter specified on '{0}' does not derive from JsonConverter or have a public parameterless constructor.</summary>
- </member>
- <member name="P:System.SR.SerializationConverterRead">
- <summary>The converter '{0}' read too much or not enough.</summary>
- </member>
- <member name="P:System.SR.SerializationConverterNotCompatible">
- <summary>The converter '{0}' is not compatible with the type '{1}'.</summary>
- </member>
- <member name="P:System.SR.ResolverTypeNotCompatible">
- <summary>The IJsonTypeInfoResolver returned an incompatible JsonTypeInfo instance of type '{0}', expected type '{1}'.</summary>
- </member>
- <member name="P:System.SR.ResolverTypeInfoOptionsNotCompatible">
- <summary>The IJsonTypeInfoResolver returned a JsonTypeInfo instance whose JsonSerializerOptions setting does not match the provided argument.</summary>
- </member>
- <member name="P:System.SR.SerializationConverterWrite">
- <summary>The converter '{0}' wrote too much or not enough.</summary>
- </member>
- <member name="P:System.SR.NamingPolicyReturnNull">
- <summary>The naming policy '{0}' cannot return null.</summary>
- </member>
- <member name="P:System.SR.SerializationDuplicateAttribute">
- <summary>The attribute '{0}' cannot exist more than once on '{1}'.</summary>
- </member>
- <member name="P:System.SR.SerializeUnableToSerialize">
- <summary>The object or value could not be serialized.</summary>
- </member>
- <member name="P:System.SR.FormatByte">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for an unsigned byte.</summary>
- </member>
- <member name="P:System.SR.FormatInt16">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for an Int16.</summary>
- </member>
- <member name="P:System.SR.FormatSByte">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for a signed byte.</summary>
- </member>
- <member name="P:System.SR.FormatUInt16">
- <summary>Either the JSON value is not in a supported format, or is out of bounds for a UInt16.</summary>
- </member>
- <member name="P:System.SR.SerializerCycleDetected">
- <summary>A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of {0}. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles.</summary>
- </member>
- <member name="P:System.SR.InvalidLeadingZeroInNumber">
- <summary>Invalid leading zero before '{0}'.</summary>
- </member>
- <member name="P:System.SR.MetadataCannotParsePreservedObjectToImmutable">
- <summary>Cannot parse a JSON object containing metadata properties like '$id' or '$type' into an array or immutable collection type. Type '{0}'.</summary>
- </member>
- <member name="P:System.SR.MetadataDuplicateIdFound">
- <summary>The value of the '$id' metadata property '{0}' conflicts with an existing identifier.</summary>
- </member>
- <member name="P:System.SR.MetadataIdIsNotFirstProperty">
- <summary>The metadata property '$id' must be the first reference preservation property in the JSON object.</summary>
- </member>
- <member name="P:System.SR.MetadataInvalidReferenceToValueType">
- <summary>Invalid reference to value type '{0}'.</summary>
- </member>
- <member name="P:System.SR.MetadataInvalidTokenAfterValues">
- <summary>The '$values' metadata property must be a JSON array. Current token type is '{0}'.</summary>
- </member>
- <member name="P:System.SR.MetadataPreservedArrayFailed">
- <summary>Deserialization failed for one of these reasons:
- 1. {0}
- 2. {1}</summary>
- </member>
- <member name="P:System.SR.MetadataInvalidPropertyInArrayMetadata">
- <summary>A JSON object containing metadata for a nested array includes a non-metadata property '{0}'.</summary>
- </member>
- <member name="P:System.SR.MetadataStandaloneValuesProperty">
- <summary>A '$values' metadata property must always be preceded by other metadata properties, such as '$id' or '$type'.</summary>
- </member>
- <member name="P:System.SR.MetadataReferenceCannotContainOtherProperties">
- <summary>A JSON object that contains a '$ref' metadata property must not contain any other properties.</summary>
- </member>
- <member name="P:System.SR.MetadataReferenceNotFound">
- <summary>Reference '{0}' was not found.</summary>
- </member>
- <member name="P:System.SR.MetadataValueWasNotString">
- <summary>The '$id', '$ref' or '$type' metadata properties must be JSON strings. Current token type is '{0}'.</summary>
- </member>
- <member name="P:System.SR.MetadataInvalidPropertyWithLeadingDollarSign">
- <summary>Properties that start with '$' are not allowed in types that support metadata. Either escape the character or disable reference preservation and polymorphic deserialization.</summary>
- </member>
- <member name="P:System.SR.MetadataUnexpectedProperty">
- <summary>The metadata property is either not supported by the type or is not the first property in the deserialized JSON object.</summary>
- </member>
- <member name="P:System.SR.MetadataDuplicateTypeProperty">
- <summary>Deserialized object contains a duplicate type discriminator metadata property.</summary>
- </member>
- <member name="P:System.SR.MultipleMembersBindWithConstructorParameter">
- <summary>Members '{0}' and '{1}' on type '{2}' cannot both bind with parameter '{3}' in the deserialization constructor.</summary>
- </member>
- <member name="P:System.SR.ConstructorParamIncompleteBinding">
- <summary>Each parameter in the deserialization constructor on type '{0}' must bind to an object property or field on deserialization. Each parameter name must match with a property or field on the object. Fields are only considered when 'JsonSerializerOptions.Inclu ...</summary>
- </member>
- <member name="P:System.SR.ConstructorMaxOf64Parameters">
- <summary>The deserialization constructor on type '{0}' may not have more than 64 parameters for deserialization.</summary>
- </member>
- <member name="P:System.SR.ObjectWithParameterizedCtorRefMetadataNotSupported">
- <summary>Reference metadata is not supported when deserializing constructor parameters. See type '{0}'.</summary>
- </member>
- <member name="P:System.SR.SerializerConverterFactoryReturnsNull">
- <summary>The converter '{0}' cannot return a null value.</summary>
- </member>
- <member name="P:System.SR.SerializationNotSupportedParentType">
- <summary>The unsupported member type is located on type '{0}'.</summary>
- </member>
- <member name="P:System.SR.ExtensionDataCannotBindToCtorParam">
- <summary>The extension data property '{0}' on type '{1}' cannot bind with a parameter in the deserialization constructor.</summary>
- </member>
- <member name="P:System.SR.BufferMaximumSizeExceeded">
- <summary>Cannot allocate a buffer of size {0}.</summary>
- </member>
- <member name="P:System.SR.CannotSerializeInvalidType">
- <summary>The type '{0}' is invalid for serialization or deserialization because it is a pointer type, is a ref struct, or contains generic parameters that have not been replaced by specific types.</summary>
- </member>
- <member name="P:System.SR.SerializeTypeInstanceNotSupported">
- <summary>Serialization and deserialization of '{0}' instances are not supported.</summary>
- </member>
- <member name="P:System.SR.JsonIncludeOnNonPublicInvalid">
- <summary>The non-public property '{0}' on type '{1}' is annotated with 'JsonIncludeAttribute' which is invalid.</summary>
- </member>
- <member name="P:System.SR.CannotSerializeInvalidMember">
- <summary>The type '{0}' of property '{1}' on type '{2}' is invalid for serialization or deserialization because it is a pointer type, is a ref struct, or contains generic parameters that have not been replaced by specific types.</summary>
- </member>
- <member name="P:System.SR.CannotPopulateCollection">
- <summary>The collection type '{0}' is abstract, an interface, or is read only, and could not be instantiated and populated.</summary>
- </member>
- <member name="P:System.SR.ConstructorContainsNullParameterNames">
- <summary>The deserialization constructor for type '{0}' contains parameters with null names. This might happen because the parameter names have been trimmed by the linker. Consider using the source generated serializer instead.</summary>
- </member>
- <member name="P:System.SR.DefaultIgnoreConditionAlreadySpecified">
- <summary>'IgnoreNullValues' and 'DefaultIgnoreCondition' cannot both be set to non-default values.</summary>
- </member>
- <member name="P:System.SR.DefaultIgnoreConditionInvalid">
- <summary>The value cannot be 'JsonIgnoreCondition.Always'.</summary>
- </member>
- <member name="P:System.SR.DictionaryKeyTypeNotSupported">
- <summary>The type '{0}' is not a supported dictionary key using converter of type '{1}'.</summary>
- </member>
- <member name="P:System.SR.IgnoreConditionOnValueTypeInvalid">
- <summary>The ignore condition 'JsonIgnoreCondition.WhenWritingNull' is not valid on value-type member '{0}' on type '{1}'. Consider using 'JsonIgnoreCondition.WhenWritingDefault'.</summary>
- </member>
- <member name="P:System.SR.NumberHandlingOnPropertyInvalid">
- <summary>'JsonNumberHandlingAttribute' is only valid on a number or a collection of numbers when applied to a property or field. See member '{0}' on type '{1}'.</summary>
- </member>
- <member name="P:System.SR.ConverterCanConvertMultipleTypes">
- <summary>The converter '{0}' handles type '{1}' but is being asked to convert type '{2}'. Either create a separate converter for type '{2}' or change the converter's 'CanConvert' method to only return 'true' for a single type.</summary>
- </member>
- <member name="P:System.SR.MetadataReferenceOfTypeCannotBeAssignedToType">
- <summary>The object with reference id '{0}' of type '{1}' cannot be assigned to the type '{2}'.</summary>
- </member>
- <member name="P:System.SR.DeserializeUnableToAssignValue">
- <summary>Unable to cast object of type '{0}' to type '{1}'.</summary>
- </member>
- <member name="P:System.SR.DeserializeUnableToAssignNull">
- <summary>Unable to assign 'null' to the property or field of type '{0}'.</summary>
- </member>
- <member name="P:System.SR.SerializerConverterFactoryReturnsJsonConverterFactory">
- <summary>The converter '{0}' cannot return an instance of JsonConverterFactory.</summary>
- </member>
- <member name="P:System.SR.NodeElementWrongType">
- <summary>The element must be of type '{0}'</summary>
- </member>
- <member name="P:System.SR.NodeElementCannotBeObjectOrArray">
- <summary>The element cannot be an object or array.</summary>
- </member>
- <member name="P:System.SR.NodeAlreadyHasParent">
- <summary>The node already has a parent.</summary>
- </member>
- <member name="P:System.SR.NodeCycleDetected">
- <summary>A node cycle was detected.</summary>
- </member>
- <member name="P:System.SR.NodeUnableToConvert">
- <summary>A value of type '{0}' cannot be converted to a '{1}'.</summary>
- </member>
- <member name="P:System.SR.NodeUnableToConvertElement">
- <summary>An element of type '{0}' cannot be converted to a '{1}'.</summary>
- </member>
- <member name="P:System.SR.NodeValueNotAllowed">
- <summary>A JsonNode cannot be used as a value.</summary>
- </member>
- <member name="P:System.SR.NodeWrongType">
- <summary>The node must be of type '{0}'.</summary>
- </member>
- <member name="P:System.SR.NodeDuplicateKey">
- <summary>An item with the same key has already been added. Key: {0}</summary>
- </member>
- <member name="P:System.SR.SerializerContextOptionsImmutable">
- <summary>JsonSerializerOptions instances cannot be modified once encapsulated by a JsonSerializerContext. Such encapsulation can happen either when calling 'JsonSerializerOptions.AddContext' or when passing the options instance to a JsonSerializerContext constructo ...</summary>
- </member>
- <member name="P:System.SR.ConverterForPropertyMustBeValid">
- <summary>The generic type of the converter for property '{0}.{1}' must match with the specified converter type '{2}'. The converter must not be 'null'.</summary>
- </member>
- <member name="P:System.SR.NoMetadataForType">
- <summary>Metadata for type '{0}' was not provided by TypeInfoResolver of type '{1}'. If using source generation, ensure that all root types passed to the serializer have been indicated with 'JsonSerializableAttribute', along with any types that might be serialized ...</summary>
- </member>
- <member name="P:System.SR.CollectionIsReadOnly">
- <summary>Collection is read-only.</summary>
- </member>
- <member name="P:System.SR.ArrayIndexNegative">
- <summary>Number was less than 0.</summary>
- </member>
- <member name="P:System.SR.ArrayTooSmall">
- <summary>Destination array was not long enough.</summary>
- </member>
- <member name="P:System.SR.NodeJsonObjectCustomConverterNotAllowedOnExtensionProperty">
- <summary>A custom converter for JsonObject is not allowed on an extension property.</summary>
- </member>
- <member name="P:System.SR.NoMetadataForTypeProperties">
- <summary>TypeInfoResolver '{0}' did not provide property metadata for type '{1}'.</summary>
- </member>
- <member name="P:System.SR.FieldCannotBeVirtual">
- <summary>A 'field' member cannot be 'virtual'. See arguments for the '{0}' and '{1}' parameters.</summary>
- </member>
- <member name="P:System.SR.MissingFSharpCoreMember">
- <summary>Could not locate required member '{0}' from FSharp.Core. This might happen because your application has enabled member-level trimming.</summary>
- </member>
- <member name="P:System.SR.FSharpDiscriminatedUnionsNotSupported">
- <summary>F# discriminated union serialization is not supported. Consider authoring a custom converter for the type.</summary>
- </member>
- <member name="P:System.SR.NoMetadataForTypeCtorParams">
- <summary>TypeInfoResolver '{0}' did not provide constructor parameter metadata for type '{1}'.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_BaseConverterDoesNotSupportMetadata">
- <summary>The converter for polymorphic type '{0}' does not support metadata writes or reads.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_DerivedConverterDoesNotSupportMetadata">
- <summary>The converter for derived type '{0}' does not support metadata writes or reads.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_TypeDoesNotSupportPolymorphism">
- <summary>Specified type '{0}' does not support polymorphism. Polymorphic types cannot be structs, sealed types, generic types or System.Object.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_DerivedTypeIsNotSupported">
- <summary>Specified type '{0}' is not a supported derived type for the polymorphic type '{1}'. Derived types must be assignable to the base type, must not be generic and cannot be abstact classes or interfaces unless 'JsonUnknownDerivedTypeHandling.FallBackToNearest ...</summary>
- </member>
- <member name="P:System.SR.Polymorphism_DerivedTypeIsAlreadySpecified">
- <summary>The polymorphic type '{0}' has already specified derived type '{1}'.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_TypeDicriminatorIdIsAlreadySpecified">
- <summary>The polymorphic type '{0}' has already specified a type discriminator '{1}'.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_InvalidCustomTypeDiscriminatorPropertyName">
- <summary>The metadata property names '$id', '$ref', and '$values' are reserved and cannot be used as custom type discriminator property names.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_ConfigurationDoesNotSpecifyDerivedTypes">
- <summary>Polymorphic configuration for type '{0}' should specify at least one derived type.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_UnrecognizedTypeDiscriminator">
- <summary>Read unrecognized type discriminator id '{0}'.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_RuntimeTypeNotSupported">
- <summary>Runtime type '{0}' is not supported by polymorphic type '{1}'.</summary>
- </member>
- <member name="P:System.SR.Polymorphism_RuntimeTypeDiamondAmbiguity">
- <summary>Runtime type '{0}' has a diamond ambiguity between derived types '{1}' and '{2}' of polymorphic type '{3}'. Consider either removing one of the derived types or removing the 'JsonUnknownDerivedTypeHandling.FallBackToNearestAncestor' setting.</summary>
- </member>
- <member name="P:System.SR.InvalidJsonTypeInfoOperationForKind">
- <summary>Invalid JsonTypeInfo operation for JsonTypeInfoKind '{0}'.</summary>
- </member>
- <member name="P:System.SR.CreateObjectConverterNotCompatible">
- <summary>The converter for type '{0}' does not support setting 'CreateObject' delegates.</summary>
- </member>
- <member name="P:System.SR.CombineOneOfResolversIsNull">
- <summary>One of the provided resolvers is null.</summary>
- </member>
- <member name="P:System.SR.JsonPropertyInfoBoundToDifferentParent">
- <summary>JsonPropertyInfo with name '{0}' for type '{1}' is already bound to different JsonTypeInfo.</summary>
- </member>
- <member name="P:System.SR.JsonTypeInfoUsedButTypeInfoResolverNotSet">
- <summary>JsonTypeInfo metadata references a JsonSerializerOptions instance that doesn't specify a TypeInfoResolver.</summary>
- </member>
- <member name="P:System.SR.JsonPolymorphismOptionsAssociatedWithDifferentJsonTypeInfo">
- <summary>Parameter already associated with a different JsonTypeInfo instance.</summary>
- </member>
- <member name="P:System.SR.JsonPropertyRequiredAndNotDeserializable">
- <summary>JsonPropertyInfo '{0}' defined in type '{1}' is marked required but does not specify a setter.</summary>
- </member>
- <member name="P:System.SR.JsonPropertyRequiredAndExtensionData">
- <summary>JsonPropertyInfo '{0}' defined in type '{1}' is marked both as required and as an extension data property. This combination is not supported.</summary>
- </member>
- <member name="P:System.SR.JsonRequiredPropertiesMissing">
- <summary>JSON deserialization for type '{0}' was missing required properties, including the following: {1}</summary>
- </member>
- </members>
- </doc>
|