Object 6

Ruby JSON multiJson activeSupport

ActiveSupport 젬을 사용하면 시간대, 국제화(i18n), JSON 인코딩 및 디코딩 같은 Rails로부터 가져온 기능을 쓸 수 있다. ActiveSupport의 JSON 모듈은 카멜 카이스와 스네이크 케이스의 상호변환 객체의 일부만을 직렬화 sudo jem install multi_json sudo gem install activesupport sudo gem install awesome_print require 'multi_json' require 'active_support/json' require 'active_support/core_ext/string' require 'ostruct' require 'awesome_print' class Speaker def initialize(firs..

lang/ruby 2018.06.21

Ruby JSON multiJson oj

https://www.rubydoc.info/gems/multi_json/1.3.2/MultiJson Supported JSON Engines JSON (https://github.com/flori/json) Ruby가 기본 제공하는 JSON 젬. oj (https://github.com/ohler55/oj) 속도를 중시한 최적화된 JSON 젬. Ruby 기반 젬 중에서는 가장 속도가 빠르다. yajl (https://github.com/brianmario/yajl-ruby) 정식 이름은 Yet Another JSON Library. NSJSONSerialization Wrapper for Apple's NSJSONSerialization in the Cocoa Framework (MacRuby only..

lang/ruby 2018.06.20

Unable to start activity ComponentInfo, on a null object reference

Issues with Loading AdMob Ads on App Android google ads error (null reference ?) Error java.lang.RuntimeException: Unable to start activity ComponentInfo{com.domain.sub/com.domain.sub.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.ads.AdView.loadAd(com.google.android.gms.ads.AdRequest)' on a null object reference 해당 activity 에서 R.id.a..

ide/androidstudio 2017.01.25
반응형