12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067 |
- <?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="T:System.Collections.Immutable.ImmutableDictionary`2"/> and
- types assignable to <see cref="T:System.Collections.Immutable.IImmutableDictionary`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>
- <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="T: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="T: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="T:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute">
- <summary>Specifies the syntax used in a string.</summary>
- </member>
- <member name="M:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.#ctor(System.String)">
- <summary>Initializes the <see cref="T:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute"/> with the identifier of the syntax used.</summary>
- <param name="syntax">The syntax identifier.</param>
- </member>
- <member name="M:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.#ctor(System.String,System.Object[])">
- <summary>Initializes the <see cref="T:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute"/> with the identifier of the syntax used.</summary>
- <param name="syntax">The syntax identifier.</param>
- <param name="arguments">Optional arguments associated with the specific syntax employed.</param>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.Syntax">
- <summary>Gets the identifier of the syntax used.</summary>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.Arguments">
- <summary>Optional arguments associated with the specific syntax employed.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.CompositeFormat">
- <summary>The syntax identifier for strings containing composite formats for string formatting.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.DateOnlyFormat">
- <summary>The syntax identifier for strings containing date format specifiers.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.DateTimeFormat">
- <summary>The syntax identifier for strings containing date and time format specifiers.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.EnumFormat">
- <summary>The syntax identifier for strings containing <see cref="T:System.Enum"/> format specifiers.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.GuidFormat">
- <summary>The syntax identifier for strings containing <see cref="T:System.Guid"/> format specifiers.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.Json">
- <summary>The syntax identifier for strings containing JavaScript Object Notation (JSON).</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.NumericFormat">
- <summary>The syntax identifier for strings containing numeric format specifiers.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.Regex">
- <summary>The syntax identifier for strings containing regular expressions.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.TimeOnlyFormat">
- <summary>The syntax identifier for strings containing time format specifiers.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.TimeSpanFormat">
- <summary>The syntax identifier for strings containing <see cref="T:System.TimeSpan"/> format specifiers.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.Uri">
- <summary>The syntax identifier for strings containing URIs.</summary>
- </member>
- <member name="F:System.Diagnostics.CodeAnalysis.StringSyntaxAttribute.Xml">
- <summary>The syntax identifier for strings containing XML.</summary>
- </member>
- <member name="T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute">
- <summary>
- Indicates that the specified method requires the ability to generate new code at runtime,
- for example through <see cref="N:System.Reflection"/>.
- </summary>
- <remarks>
- This allows tools to understand which methods are unsafe to call when compiling ahead of time.
- </remarks>
- </member>
- <member name="M:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.#ctor(System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute"/> class
- with the specified message.
- </summary>
- <param name="message">
- A message that contains information about the usage of dynamic code.
- </param>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.Message">
- <summary>
- Gets a message that contains information about the usage of dynamic code.
- </summary>
- </member>
- <member name="P:System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute.Url">
- <summary>
- Gets or sets an optional URL that contains more information about the method,
- why it requires dynamic code, and what options a consumer has to deal with it.
- </summary>
- </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>
- <member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
- <summary>
- Attribute used to indicate a source generator should create a function for marshalling
- arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
- </summary>
- <remarks>
- This attribute is meaningless if the source generator associated with it is not enabled.
- The current built-in source generator only supports C# and only supplies an implementation when
- applied to static, partial, non-generic methods.
- </remarks>
- </member>
- <member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
- <summary>
- Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
- </summary>
- <param name="libraryName">Name of the library containing the import.</param>
- </member>
- <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
- <summary>
- Gets the name of the library containing the import.
- </summary>
- </member>
- <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
- <summary>
- Gets or sets the name of the entry point to be called.
- </summary>
- </member>
- <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
- <summary>
- Gets or sets how to marshal string arguments to the method.
- </summary>
- <remarks>
- If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
- <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
- </remarks>
- </member>
- <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
- <summary>
- Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
- </summary>
- <remarks>
- If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
- or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
- </remarks>
- </member>
- <member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
- <summary>
- Gets or sets whether the callee sets an error (SetLastError on Windows or errno
- on other platforms) before returning from the attributed method.
- </summary>
- </member>
- <member name="T:System.Runtime.InteropServices.StringMarshalling">
- <summary>
- Specifies how strings should be marshalled for generated p/invokes
- </summary>
- </member>
- <member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
- <summary>
- Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
- </summary>
- </member>
- <member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
- <summary>
- Use the platform-provided UTF-8 marshaller.
- </summary>
- </member>
- <member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
- <summary>
- Use the platform-provided UTF-16 marshaller.
- </summary>
- </member>
- </members>
- </doc>
|