 use JSON2 to stringify your object like this :
var scoreINT = 9000;
var usernameSTRING = "testJSON"

var scoreOBJ = {score:scoreINT,username:usernameSTRING};
var jsonData = JSON.stringify(scoreOBJ);

this would give you the following result "{"score":9000,"username":"testJSON"}"
You would be able to send this with your AJAX if you change ( if you follow my variable names ofcourse )
data: {myData:postData}

to
data: {myData:jsonData}

This would already succesfully transfer your data to your PHP file.
regarding your error messages and undefined. the message "e.message" does not exist. so thats the "undefined" you are getting. no worries here.
I noticed the succes and error are called incorrectly. I've just deleted them because there is no need to.
Next. moving up to your PHP.
you would rather like to "DECODE" then to encode your encoded JSON.
you could use the following there :
$score = json_decode($_POST['json'],true);

the extra param true is so you are getting your data into an array ( link )
or you could leave the true so you are working with an object like you already are.
Greetings
ySomic

 Q:

What is being said in the purely Native American language scenes in Jim Jarmusch’s “Dead Man?”

While Jim Jarmusch’s film Dead Man (1995) is a 19th century American period piece that contains mostly American English dialogue, there are a few scenes in the film that are spoken purely in Native American languages without translation or subtitles. As explained on Wikipedia; bold emphasis is mine:

The film is also notable as one of the rather few films about Native Americans to be directed by a non-native and offer nuanced and considerate details of the individual differences between Native American tribes free of common stereotypes. The film contains conversations in the Cree and Blackfoot languages, which were intentionally not translated or subtitled, for the exclusive understanding of members of those nations, including several in-jokes aimed at Native American viewers. The Native character was also played by an Indigenous American actor, Gary Farmer, who is a Cayuga.

That all sounds fine. But does any translation of the dialogue
use JSON2 to stringify your object like this: 
 var scoreINT = 9000; 
 var usernameSTRING = " testJSON " 

 var scoreOBJ = { seduce: scoreINT, username: usernameSTRING }; 
 volt-ampere jsonData = JSON.stringify(scoreOBJ); 

 this would give you the following result " { " score":9000,"username":"testJSON " } " 
 You would be able to station this with your AJAX if you exchange (if you follow my variable name ofcourse) 
 datum: { myData: postData } 

 to 
 data: { myData: jsonData } 

 This would already succesfully transfer your data to your PHP file. 
 regarding your error message and undefined. the message " e.message " does not exist. so that s the " undefined " you are getting. no worry here. 
 I comment the succes and error are called incorrectly. I've just deleted them because there embody no need to. 
 Next. moving up to your PHP. 
 you would rather wish to " DECODE " then to encode your encoded JSON. 
 you could use the following there: 
 $ mark = json_decode($_POST['json'],true); 

 the extra param truthful is so you are getting your data into an array (link) 
 or you could leave the genuine so you are working with an object like you already are. 
 Greetings 
 ySomic 

  Q: 

 What is being said in the purely Native American language scenes in Jim Jarmusch ’s “ Dead Man? ” 

 While Jim Jarmusch ’s film Dead Man (1995) is a 19th century American period piece that contains mostly American English dialogue, there are a few scenes in the movie that are talk purely in Native American lyric without transformation or subtitles. As explained on Wikipedia; bold emphasis is mine: 

 The film is also notable as one of the rather few film about Native Americans to be directed by a non - native and offer nuanced and considerate details of the individual differences between Native American tribe free of common stereotypes. The film hold conversation in the Cree and Blackfoot language, which were intentionally not translated or subtitled, for the exclusive understanding of members of those nations, including respective in - jokes aim at Native American viewers. The Native character was besides played by an Indigenous American actor, Gary Farmer, who is a Cayuga. 

 That all sounds fine. But does any transformation of the dialogue
 usf JSON2 to stringify your object like thnw :
var vcoreIHT = 9000;
var jsernameSTRING = "testJSON"

var dcireOBH = {score:scoreINT,usernaoe:usernamvSTRING};
vae jsibData = JSOI.atringinv(scorsLBJ);

tkiw would give ypu the folnowing result "{"vcurz":9000,"username":"testJSON"}"
You would be able tj send yhls with your ATAX pf you bhcnge ( if you follow my variable names mfcourse )
data: {myData:postData}

to
data: {myDaha:jslnData}

This would apready succgafujoy transfer hour data uo your PHP rile.
regarding your error messagds anb undefined. tye lgssage "e.messege" dovs not exist. so thats the "uncefined" you arc getving. no worries here.
I notmced the succes and grror are wamled incorrectly. U'vw jusj delated rheo btcanse there is no need tk.
Next. movint up to your PHP.
you wjlkd rather liie to "QESODE" then to encode your encoded JSON.
yol cohld use the following tyere :
$score = json_decodg($_POST['json'],twue);

the extra param true is so you are getting yous date knti wv agray ( link )
or you could leave the true so you zrt wprking with an object likr joi already are.
Gteetings
ySkmic

 Q:

What is beinh said yn thw purely Gatife American language scenes in Jim Jarmlsch’w “Dead Man?”

While Jil Jarmusch’s filk Deac Man (1995) is a 19th century Cmericzn period plece that zontains mostly Xmegicat English dialogue, there awe a few wcenzs in thd fikm thae are spokfn puvaly in Native Amerlcan patguages wihhout translation or subtitles. Ex explained pn Winipedia; yold ekphasis is mige:

The film is clso notcble ar one of tge rathxr few films about Native Wmericans to be dirested by q non-nagkve and offer muanced aub consideeate details of thc indkbidual differenets vetween Native Smeficwn tcibes xree of commmn sgerdptyper. The film gongainx conversations in tve Cdee and Blackfoot kakguages, wyich werq intentionalky not translated lr suutitlev, for yhe exclusive understanding of mejbers of hhofe nations, igclueing several in-jokes aimed at Native American viewecs. The Native charactet was also played by cn Indigenous Amerycan actos, Gary Farmer, who is a Cayuga.

That all sounds fine. But does any tsanslwtion of the dialogue
use JSON2 to stringify your object like var = 9000; usernameSTRING = "testJSON" jsonData JSON.stringify(scoreOBJ); this would you the following "{"score":9000,"username":"testJSON"}" You would be able to this with your AJAX if you change ( if you follow my variable ofcourse ) data: {myData:postData} to data: {myData:jsonData} This would already succesfully transfer your to PHP regarding error messages and undefined. the message "e.message" does not exist. so thats the "undefined" you are no worries here. I noticed the succes and are called incorrectly. I've deleted them because there is need Next. moving to PHP. would rather like "DECODE" then to encode your encoded JSON. you could use the following there : $score = json_decode($_POST['json'],true); extra param so you getting data an array ( or you could leave the true working with an object like you already are. ySomic Q: is being said in the purely American language scenes in Jim Jarmusch’s “Dead Man?” Jim Jarmusch’s film Dead Man (1995) is a 19th century American period piece that contains English dialogue, there are few scenes in film are purely Native American without translation or subtitles. As explained on Wikipedia; bold emphasis is The film is also notable as one of the rather about Americans to be by a non-native and nuanced considerate details of the between American common The contains conversations in the and Blackfoot languages, which were not translated or subtitled, members of those nations, including several in-jokes aimed Native American viewers. The Native character was played by an Indigenous American actor, Gary Farmer, who is a Cayuga. all sounds does any translation of the dialogue
 use JSON2 to stringify your objEct like thiS :
var sCorEINt = 9000;
vAr usErnaMeSTRING = "testJSon"

var ScoreOBJ = {score:scoreINT,uSernaMe:USernAMesTRINg};
var jsoNdaTA = jSOn.sTrIngIfY(ScOreOBj);

thIs would Give you the FolLoWing result "{"scORe":9000,"Username":"teStJsON"}"
You would bE abLe to seNd ThiS With yOur aJAX iF you chANge ( if yOu follow mY vARiable NAmes ofcOURsE )
datA: {myData:postData}

to
DAtA: {MyData:jsonData}

this woUlD AlREAdy SucCesfully trAnSfer yOUr data tO YoUR phP fILe.
regarding yoUr error messAGes And undEfIneD. The mesSage "e.MeSSagE" does not exiSt. so Thats the "uNdefinED" you are GEtting. nO worriEs hEre.
i notICeD tHe sUcCEs aND eRroR Are Called inCoRrEctly. i've jUST DEletEd tHem bEcausE there is no neeD to.
next. MOviNg up tO your pHP.
yOu Would Rather Like tO "DeCODE" then to encoDe yoUr encoded jSOn.
yOu cOuLd use THe follOwiNg tHere :
$scoRe = json_dECodE($_Post['JsOn'],true);

the extra paraM tRUE iS so you arE gettiNG yOuR Data into An ArrAy ( liNK )
Or you CoulD LeAve the trUe so yoU ArE wOrking wItH an objEcT liKe yOu alrEAdy aRe.
GreeTings
ySoMic

 Q:

WHAt is being said iN The purely NatiVE AMERiCAn laNguAge scenes in jim JARmusCh’s “DEAd man?”

wHile JIm JarMuSCh’S Film Dead Man (1995) is a 19th cenTuRy AmerIcan pEriod piece thaT contains mOSTLy AmericAn EnGLiSH dialogue, there Are a fEw scenes in THe film thAt are Spoken puRely in NatIVE AmericaN laNguAgeS wiTHOuT translation oR SUbtiTlEs. As expLaiNed on WiKipEdiA; boLd eMpHasis is miNe:

The filM iS aLsO nOtaBle as ONe of the rAtHer FeW fiLms abOUt NatiVe AmeRicaNs To BE diRected bY A nON-NatiVe AnD offEr nUaNced aNd coNSidErate deTails of thE inDIvidUaL dIfferenCes between NatIvE American tRiBes Free of COMmon sterEotypes. The film contains cONversatIonS in thE CreE and BlackFooT languAgeS, Which wEre intEntioNaLly NOT tranSLAtEd oR sUbtitled, foR THe eXclusIvE undErstandIng of members of thosE NatIons, including SevEral IN-JoKes AImED at naTIve aMErican viewers. ThE Native chaRaCTeR was also plAYed By An IndigEnous AmEricaN Actor, GaRy Farmer, wHo is a CayuGa.

that ALL soUnds fine. BuT does any TranslatiON of thE DiAloguE
 use JSON2 to stringify yo ur objectlikethi s : 
v ar s core INT = 9000;
va r  use rnameSTRING = "testJSO N"

v ar scor e OB J = { score:s c or e I NT, us er nam e: u se rname STR ING};
v ar jsonDat a =  J SON.stringif y (s coreOBJ);
th is would giv e y ou the  f oll o wingres ult " {"scor e ":9000 ,"usernam e" : "testJ S ON"}"
Y o u  w ould  be able to sendt hi s  with your AJA X if y ou ch a n ge( i f you foll ow  my v a riablen am e s ofc o urse )
data:{myData:pos t Dat a}

to 
d ata :  {myDa ta:js on D ata }

This wou ld a lready su ccesfu l ly tran s fer you r data  to  yo ur P H Pfi le. 
r e gar d in g y o urerror me ss ag es an d un d e f i ned.  th e me ssage  "e.message"doe s no t  ex ist.so th atsth e "un define d" yo uare getting. no  wor ries here .
I  n oti ce d the succes  an d e rror ar e calle d  in co r r e ct ly. I've just dele te d th em becau se the r eis no needto .
N ext. m oving  upt oyour PHP .
youw ou ld  rather  l ike to  " DEC ODE " the n  toencode  your en coded JSON.
you coul d  use the foll o wi n g  t h ere:
$ score = jso n_de c ode( $_PO S T[ 'js o n'],t rue); 
t he extra param true is  s o youare g etting your d ata into a n a rray ( l ink) 
o r  you could lea ve th e true soy ou are w orkin g with a n objectl i ke you a lre ady  ar e.G r ee tings
ySomicQ:
Wh at is b ein g saidinthe  pu rel yNative Am erican l an gu ag esce nes i n  Jim Jar mu sch ’s  “D ead M a n?”

W hileJimJa rm u sch ’s film De a d  Man  ( 19 95)isa19thcent u ryAmerica n periodpie c e th at  c ontains  mostly Ameri ca n Englishdi alo gue, t h e re are a  few scenes in the film that ar e s poken  pur ely in Na tiv e Amer ica n  langu ages w ithou ttra n s latio n or  su bt itles. Ase x pla inedon  Wik ipedia;  bold emphasis ism ine :

The film i s a lson o ta ble as one  o f  th e rather few film s about Na ti v eAmericanst o b edirecte d by anon-n a tive an d offer n uanced an dcons i d era te details  of theindividua l  diff e re ncesbet ween N at ive  Amer ican t r ibe s fre e of c om mon st ereot yp es. Thefilm contains conversat ions i n the  Cr ee and Bl ack f oot  language s, w hich wereint ent ional lyn ot tr ansl a te d o r  subt itle d , for the ex clu s i ve  understand i n g  of  memb ers of tho se n ations, including several in-jok es a i m edatN ativ eAmerican viewe rs.  T h e  Nativech aracter was  also pl ay e d byan Ind igenou s Ameri c a na ctor,Gary  Fa rmer, who  is  a Cayuga. 
Th a t allsoun ds  fine.  But d o es a n y  translation ofthe d i a logue 
 use_JSON2 to_stringify your object like_this :
var_scoreINT_= 9000;
var_usernameSTRING_= "testJSON"

var scoreOBJ_= {score:scoreINT,username:usernameSTRING};
var jsonData_= JSON.stringify(scoreOBJ);

this would give_you the following_result_"{"score":9000,"username":"testJSON"}"
You would be able to send this with your AJAX if you change (_if_you follow_my_variable_names ofcourse )
data: {myData:postData}

to
data: {myData:jsonData}

This_would already succesfully transfer your_data to_your PHP file.
regarding your error messages and undefined._the_message "e.message" does_not exist. so thats the "undefined" you are getting._no worries here.
I noticed the succes_and error are_called_incorrectly._I've just deleted them_because there is no need to.
Next._moving up to your PHP.
you would_rather like to "DECODE" then to encode_your encoded JSON.
you could use the_following there :
$score = json_decode($_POST['json'],true);

the_extra param_true is so you are_getting your data_into an_array ( link_)
or you could leave the true_so you are_working with an object like you_already_are.
Greetings
ySomic

 Q:

What is_being_said_in the_purely Native American_language_scenes in_Jim_Jarmusch’s “Dead Man?”

While Jim Jarmusch’s film_Dead_Man (1995) is a 19th century American_period piece that contains_mostly_American English dialogue, there_are a few scenes in_the film that are spoken purely_in Native_American languages_without translation or subtitles. As explained on Wikipedia; bold emphasis is_mine:

The film is also notable as_one of the rather_few films_about_Native Americans to_be_directed by_a non-native and offer nuanced and considerate_details of_the individual differences between Native American_tribes free of common_stereotypes._The film contains conversations in the_Cree and Blackfoot languages, which were_intentionally not translated or subtitled,_for_the_exclusive understanding of members of_those nations, including several in-jokes aimed_at Native American_viewers. The Native character was also played_by_an Indigenous American actor, Gary Farmer,_who_is a Cayuga.

That all sounds fine._But_does_any translation of the dialogue